Class: Ellen::AdapterBuilder
- Inherits:
-
Object
- Object
- Ellen::AdapterBuilder
- Defined in:
- lib/ellen/adapter_builder.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#robot ⇒ Object
readonly
Returns the value of attribute robot.
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(robot, options) ⇒ AdapterBuilder
constructor
A new instance of AdapterBuilder.
Constructor Details
#initialize(robot, options) ⇒ AdapterBuilder
Returns a new instance of AdapterBuilder.
5 6 7 8 |
# File 'lib/ellen/adapter_builder.rb', line 5 def initialize(robot, ) @robot = robot @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/ellen/adapter_builder.rb', line 3 def @options end |
#robot ⇒ Object (readonly)
Returns the value of attribute robot.
3 4 5 |
# File 'lib/ellen/adapter_builder.rb', line 3 def robot @robot end |
Instance Method Details
#build ⇒ Object
10 11 12 |
# File 'lib/ellen/adapter_builder.rb', line 10 def build adapter_class.new(robot, ) end |