Class: Groupdate::OrderHack
- Inherits:
-
String
- Object
- String
- Groupdate::OrderHack
- Defined in:
- lib/groupdate.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
readonly
Returns the value of attribute field.
Instance Method Summary collapse
-
#initialize(str, field) ⇒ OrderHack
constructor
A new instance of OrderHack.
Constructor Details
#initialize(str, field) ⇒ OrderHack
Returns a new instance of OrderHack.
95 96 97 98 |
# File 'lib/groupdate.rb', line 95 def initialize(str, field) super(str) @field = field end |
Instance Attribute Details
#field ⇒ Object (readonly)
Returns the value of attribute field.
93 94 95 |
# File 'lib/groupdate.rb', line 93 def field @field end |