Method: TZInfo::TimeOrDateTime#min
- Defined in:
- lib/tzinfo/time_or_datetime.rb
#min ⇒ Object
Returns the minute of the hour (0..59).
169 170 171 172 173 174 175 176 177 |
# File 'lib/tzinfo/time_or_datetime.rb', line 169 def min if @time @time.min elsif @datetime @datetime.min else to_time.min end end |