Class: Captain
Constant Summary
Constants included from Ferry
Instance Method Summary collapse
-
#initialize(**opts) ⇒ Captain
constructor
after initializing some captain class we need to be able to 0 know what kind of content we want to move 1 know where we need to move data from 2 know where we need to move data to 3 any specifics of.
Constructor Details
#initialize(**opts) ⇒ Captain
after initializing some captain class we need to be able to 0 know what kind of content we want to move 1 know where we need to move data from 2 know where we need to move data to 3 any specifics of
12 13 14 15 16 |
# File 'lib/ferry/dsl/captain.rb', line 12 def initialize(**opts) # @cargo ||= opts[:cargo] # @to_loc ||= opts[:to_loc] # @from_loc ||= opts[:form_loc] end |