Class: Keyremac::Autogen::KeyToConsumer
- Inherits:
-
Struct
- Object
- Struct
- Keyremac::Autogen::KeyToConsumer
- Defined in:
- lib/keyremac/base.rb,
lib/keyremac/dump.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from
26 27 28 |
# File 'lib/keyremac/base.rb', line 26 def from @from end |
#to ⇒ Object
Returns the value of attribute to
26 27 28 |
# File 'lib/keyremac/base.rb', line 26 def to @to end |
Instance Method Details
#dump(xml) ⇒ Object
46 47 48 |
# File 'lib/keyremac/dump.rb', line 46 def dump(xml) xml.autogen "__KeyToConsumer__ #{from.dump(xml)}, #{to.dump(xml)}" end |