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



26
27
28
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 26

def day
  @day
end

#hourObject

Returns the value of attribute hour

Returns:

  • (Object)

    the current value of hour



26
27
28
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 26

def hour
  @hour
end

#minObject

Returns the value of attribute min

Returns:

  • (Object)

    the current value of min



26
27
28
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 26

def min
  @min
end

#monthObject

Returns the value of attribute month

Returns:

  • (Object)

    the current value of month



26
27
28
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 26

def month
  @month
end

#secObject

Returns the value of attribute sec

Returns:

  • (Object)

    the current value of sec



26
27
28
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 26

def sec
  @sec
end

#yearObject

Returns the value of attribute year

Returns:

  • (Object)

    the current value of year



26
27
28
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 26

def year
  @year
end