Class: Contraption::Year

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

Instance Attribute Summary collapse

Instance Attribute Details

#yearObject

Returns the value of attribute year

Returns:

  • (Object)

    the current value of year



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

def year
  @year
end