Class: Beefcake::Message::Field
- Inherits:
-
Struct
- Object
- Struct
- Beefcake::Message::Field
- Defined in:
- lib/beefcake.rb
Instance Attribute Summary collapse
-
#fn ⇒ Object
Returns the value of attribute fn.
-
#name ⇒ Object
Returns the value of attribute name.
-
#opts ⇒ Object
Returns the value of attribute opts.
-
#rule ⇒ Object
Returns the value of attribute rule.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#fn ⇒ Object
Returns the value of attribute fn
27 28 29 |
# File 'lib/beefcake.rb', line 27 def fn @fn end |
#name ⇒ Object
Returns the value of attribute name
27 28 29 |
# File 'lib/beefcake.rb', line 27 def name @name end |
#opts ⇒ Object
Returns the value of attribute opts
27 28 29 |
# File 'lib/beefcake.rb', line 27 def opts @opts end |
#rule ⇒ Object
Returns the value of attribute rule
27 28 29 |
# File 'lib/beefcake.rb', line 27 def rule @rule end |
#type ⇒ Object
Returns the value of attribute type
27 28 29 |
# File 'lib/beefcake.rb', line 27 def type @type end |
Instance Method Details
#<=>(o) ⇒ Object
28 29 30 |
# File 'lib/beefcake.rb', line 28 def <=>(o) fn <=> o.fn end |