Class: Blender::Task::Ruby
Instance Attribute Summary collapse
-
#code_block ⇒ Object
readonly
Returns the value of attribute code_block.
Attributes inherited from Base
#command, #driver, #driver_opts, #hosts, #metadata, #name
Instance Method Summary collapse
Methods inherited from Base
#add_metadata, #default_metadata, #driver_options, #ignore_failure, #initialize, #members, #use_driver
Methods included from Discovery
#build_discovery, #old_search, #search, #search_with_config
Methods included from Utils::Refinements
Constructor Details
This class inherits a constructor from Blender::Task::Base
Instance Attribute Details
#code_block ⇒ Object (readonly)
Returns the value of attribute code_block.
23 24 25 |
# File 'lib/blender/tasks/ruby.rb', line 23 def code_block @code_block end |
Instance Method Details
#execute(&block) ⇒ Object
25 26 27 |
# File 'lib/blender/tasks/ruby.rb', line 25 def execute(&block) @command = block end |