Class: Groupdate::OrderHack
- Inherits:
-
String
- Object
- String
- Groupdate::OrderHack
- Defined in:
- lib/groupdate/order_hack.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
readonly
Returns the value of attribute field.
-
#time_zone ⇒ Object
readonly
Returns the value of attribute time_zone.
Instance Method Summary collapse
-
#initialize(str, field, time_zone) ⇒ OrderHack
constructor
A new instance of OrderHack.
Constructor Details
#initialize(str, field, time_zone) ⇒ OrderHack
Returns a new instance of OrderHack.
5 6 7 8 9 |
# File 'lib/groupdate/order_hack.rb', line 5 def initialize(str, field, time_zone) super(str) @field = field @time_zone = time_zone end |
Instance Attribute Details
#field ⇒ Object (readonly)
Returns the value of attribute field.
3 4 5 |
# File 'lib/groupdate/order_hack.rb', line 3 def field @field end |
#time_zone ⇒ Object (readonly)
Returns the value of attribute time_zone.
3 4 5 |
# File 'lib/groupdate/order_hack.rb', line 3 def time_zone @time_zone end |