Bundler::Thor::Command
A dynamic command that handles method missing scenarios.
# File bundler/vendor/thor/lib/thor/command.rb, line 129 def initialize(name, options = nil) super(name.to_s, "A dynamically-generated command", name.to_s, name.to_s, options) end
# File bundler/vendor/thor/lib/thor/command.rb, line 133 def run(instance, args = []) if (instance.methods & [name.to_s, name.to_sym]).empty? super else instance.class.handle_no_command_error(name) end end
This page was generated for Ruby 2.7.0
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.44.2.