Class: Contraption::Month

Inherits:
Struct
  • Object
show all
Defined in:
lib/contraption.rb

Instance Attribute Summary collapse

Instance Attribute Details

#monthObject

Returns the value of attribute month

Returns:

  • (Object)

    the current value of month



14
15
16
# File 'lib/contraption.rb', line 14

def month
  @month
end

#yearObject

Returns the value of attribute year

Returns:

  • (Object)

    the current value of year



14
15
16
# File 'lib/contraption.rb', line 14

def year
  @year
end