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



11
12
13
# File 'lib/contraption.rb', line 11

def year
  @year
end