Module: DDSL::Command::DSL::InstanceMethods
- Defined in:
- lib/ddsl/command/dsl.rb
Constant Summary collapse
- DEFAULT_OPTIONS_TRANSFORMER =
->(_x) { [] }
- DEFAULT_ARGUMENTS_TRANSFORMER =
->(_x) { {} }
Instance Method Summary collapse
- #after_block ⇒ Object
- #arguments ⇒ Object
- #before_block ⇒ Object
- #command ⇒ Object
- #executable ⇒ Object
- #executable_options ⇒ Object
- #options ⇒ Object
Instance Method Details
#after_block ⇒ Object
75 76 77 |
# File 'lib/ddsl/command/dsl.rb', line 75 def after_block search_ancestor_tree_variable(:@after_block) end |
#arguments ⇒ Object
67 68 69 |
# File 'lib/ddsl/command/dsl.rb', line 67 def arguments search_ancestor_tree_variable(:@arguments) || DEFAULT_ARGUMENTS_TRANSFORMER end |
#before_block ⇒ Object
71 72 73 |
# File 'lib/ddsl/command/dsl.rb', line 71 def before_block search_ancestor_tree_variable(:@before_block) end |
#command ⇒ Object
83 84 85 |
# File 'lib/ddsl/command/dsl.rb', line 83 def command search_ancestor_tree_variable(:@command) end |
#executable ⇒ Object
79 80 81 |
# File 'lib/ddsl/command/dsl.rb', line 79 def executable search_ancestor_tree_variable(:@executable) end |
#executable_options ⇒ Object
59 60 61 |
# File 'lib/ddsl/command/dsl.rb', line 59 def search_ancestor_tree_variable(:@executable_options) || DEFAULT_OPTIONS_TRANSFORMER end |
#options ⇒ Object
63 64 65 |
# File 'lib/ddsl/command/dsl.rb', line 63 def search_ancestor_tree_variable(:@options) || DEFAULT_OPTIONS_TRANSFORMER end |