Class: Groupdate::OrderHack

Inherits:
String
  • Object
show all
Defined in:
lib/groupdate/order_hack.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.to_s
  @time_zone = time_zone
end

Instance Attribute Details

#fieldObject (readonly)

Returns the value of attribute field.



3
4
5
# File 'lib/groupdate/order_hack.rb', line 3

def field
  @field
end

#time_zoneObject (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