Class: ValidatesTimeliness::ActionView::InstanceTag::TimelinessDateTime

Inherits:
Struct
  • Object
show all
Defined in:
lib/validates_timeliness/action_view/instance_tag.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dayObject

Returns the value of attribute day

Returns:

  • (Object)

    the current value of day



24
25
26
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 24

def day
  @day
end

#hourObject

Returns the value of attribute hour

Returns:

  • (Object)

    the current value of hour



24
25
26
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 24

def hour
  @hour
end

#minObject

Returns the value of attribute min

Returns:

  • (Object)

    the current value of min



24
25
26
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 24

def min
  @min
end

#monthObject

Returns the value of attribute month

Returns:

  • (Object)

    the current value of month



24
25
26
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 24

def month
  @month
end

#secObject

Returns the value of attribute sec

Returns:

  • (Object)

    the current value of sec



24
25
26
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 24

def sec
  @sec
end

#yearObject

Returns the value of attribute year

Returns:

  • (Object)

    the current value of year



24
25
26
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 24

def year
  @year
end