Method: TZInfo::TimeOrDateTime#min
- Defined in:
- lib/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/time_or_datetime.rb
#min ⇒ Object
Returns the minute of the hour (0..59).
154 155 156 157 158 159 160 161 162 |
# File 'lib/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/time_or_datetime.rb', line 154 def min if @time @time.min elsif @datetime @datetime.min else to_time.min end end |