Class: ValidatesTimeliness::ActionView::InstanceTag::TimelinessDateTime
- Inherits:
-
Struct
- Object
- Struct
- ValidatesTimeliness::ActionView::InstanceTag::TimelinessDateTime
- Defined in:
- lib/validates_timeliness/action_view/instance_tag.rb
Instance Attribute Summary collapse
-
#day ⇒ Object
Returns the value of attribute day.
-
#hour ⇒ Object
Returns the value of attribute hour.
-
#min ⇒ Object
Returns the value of attribute min.
-
#month ⇒ Object
Returns the value of attribute month.
-
#sec ⇒ Object
Returns the value of attribute sec.
-
#year ⇒ Object
Returns the value of attribute year.
Instance Attribute Details
#day ⇒ Object
Returns the value of attribute day
26 27 28 |
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 26 def day @day end |
#hour ⇒ Object
Returns the value of attribute hour
26 27 28 |
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 26 def hour @hour end |
#min ⇒ Object
Returns the value of attribute min
26 27 28 |
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 26 def min @min end |
#month ⇒ Object
Returns the value of attribute month
26 27 28 |
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 26 def month @month end |
#sec ⇒ Object
Returns the value of attribute sec
26 27 28 |
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 26 def sec @sec end |
#year ⇒ Object
Returns the value of attribute year
26 27 28 |
# File 'lib/validates_timeliness/action_view/instance_tag.rb', line 26 def year @year end |