Class: Contraption::Day

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

Instance Attribute Summary collapse

Instance Attribute Details

#dayObject

Returns the value of attribute day

Returns:

  • (Object)

    the current value of day



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

def day
  @day
end

#monthObject

Returns the value of attribute month

Returns:

  • (Object)

    the current value of month



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

def month
  @month
end

#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