Class: Groupdate::OrderHack

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fieldObject (readonly)

Returns the value of attribute field.



93
94
95
# File 'lib/groupdate.rb', line 93

def field
  @field
end