Method: RTKIT::Plan#add_setup
- Defined in:
- lib/rtkit/plan.rb
#add_setup(setup) ⇒ Object
Sets the Setup reference for this Plan. Note: Intended for internal use in the library only.
173 174 175 176 |
# File 'lib/rtkit/plan.rb', line 173 def add_setup(setup) raise ArgumentError, "Invalid argument 'setup'. Expected Setup, got #{setup.class}." unless setup.is_a?(Setup) @setup = setup end |