Module: DDSL::Command::DSL::InstanceMethods
- Defined in:
- lib/ddsl/command/dsl.rb
Constant Summary collapse
- DEFAULT_TRANSFORMER =
->(_x) { [] }
Instance Method Summary collapse
- #after_block ⇒ Object
- #arguments ⇒ Object
- #command ⇒ Object
- #executable ⇒ Object
- #executable_options ⇒ Object
- #options ⇒ Object
Instance Method Details
#after_block ⇒ Object
64 65 66 |
# File 'lib/ddsl/command/dsl.rb', line 64 def after_block search_ancestor_tree_variable(:@after_block) end |
#arguments ⇒ Object
60 61 62 |
# File 'lib/ddsl/command/dsl.rb', line 60 def arguments search_ancestor_tree_variable(:@arguments) || DEFAULT_TRANSFORMER end |
#command ⇒ Object
72 73 74 |
# File 'lib/ddsl/command/dsl.rb', line 72 def command search_ancestor_tree_variable(:@command) end |
#executable ⇒ Object
68 69 70 |
# File 'lib/ddsl/command/dsl.rb', line 68 def executable search_ancestor_tree_variable(:@executable) end |
#executable_options ⇒ Object
52 53 54 |
# File 'lib/ddsl/command/dsl.rb', line 52 def search_ancestor_tree_variable(:@executable_options) || DEFAULT_TRANSFORMER end |
#options ⇒ Object
56 57 58 |
# File 'lib/ddsl/command/dsl.rb', line 56 def search_ancestor_tree_variable(:@options) || DEFAULT_TRANSFORMER end |