Class: Quarry::Stub::Setter
Instance Method Summary collapse
- #==(result) ⇒ Object
-
#initialize(table, interface) ⇒ Setter
constructor
A new instance of Setter.
Constructor Details
#initialize(table, interface) ⇒ Setter
Returns a new instance of Setter.
31 32 33 34 |
# File 'lib/quarry/stub.rb', line 31 def initialize(table, interface) @table = table @interface = interface end |
Instance Method Details
#==(result) ⇒ Object
36 37 38 |
# File 'lib/quarry/stub.rb', line 36 def ==(result) @table[@interface] = result end |