Class: Object
- Inherits:
- BasicObject
- Extended by:
- Forwardable
- Includes:
- Commander::UI, Commander::UI::AskForClass
- Defined in:
- lib/commander/core_ext/object.rb
Overview
Delegates the following methods:
-
Commander::Runner#add_command
-
Commander::Runner#command
-
Commander::Runner#commands
-
Commander::Runner#program
-
Commander::UI::ProgressBar#progress
Instance Method Summary collapse
-
#command_runner ⇒ Object
Return the current command runner.
-
#get_binding ⇒ Object
Return the current binding.
Methods included from Commander::UI::AskForClass
Methods included from Commander::UI
#ask_editor, #enable_paging, #log, #password
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Commander::UI::AskForClass
Instance Method Details
#command_runner ⇒ Object
Return the current command runner.
44 45 46 |
# File 'lib/commander/core_ext/object.rb', line 44 def command_runner $command_runner end |
#get_binding ⇒ Object
Return the current binding.
37 38 39 |
# File 'lib/commander/core_ext/object.rb', line 37 def get_binding binding end |