Method: FlexDate#initialize

Defined in:
lib/flex_date.rb

#initialize(year = nil, month = nil, day = nil) ⇒ FlexDate

Initialize the FlexDate with whichever are available: year, month, and day.



49
50
51
# File 'lib/flex_date.rb', line 49

def initialize(year = nil, month = nil, day = nil)
  @year, @month, @day = year, month, day
end