Class: ValidatesTimeliness::Extensions::DateTimeSelect::InstanceMethods::TimelinessDateTime

Inherits:
Struct
  • Object
show all
Defined in:
lib/validates_timeliness/extensions/date_time_select.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dayObject

Returns the value of attribute day

Returns:

  • (Object)

    the current value of day



18
19
20
# File 'lib/validates_timeliness/extensions/date_time_select.rb', line 18

def day
  @day
end

#hourObject

Returns the value of attribute hour

Returns:

  • (Object)

    the current value of hour



18
19
20
# File 'lib/validates_timeliness/extensions/date_time_select.rb', line 18

def hour
  @hour
end

#minObject

Returns the value of attribute min

Returns:

  • (Object)

    the current value of min



18
19
20
# File 'lib/validates_timeliness/extensions/date_time_select.rb', line 18

def min
  @min
end

#monthObject

Returns the value of attribute month

Returns:

  • (Object)

    the current value of month



18
19
20
# File 'lib/validates_timeliness/extensions/date_time_select.rb', line 18

def month
  @month
end

#secObject

Returns the value of attribute sec

Returns:

  • (Object)

    the current value of sec



18
19
20
# File 'lib/validates_timeliness/extensions/date_time_select.rb', line 18

def sec
  @sec
end

#yearObject

Returns the value of attribute year

Returns:

  • (Object)

    the current value of year



18
19
20
# File 'lib/validates_timeliness/extensions/date_time_select.rb', line 18

def year
  @year
end