Class: DateTime
- Inherits:
-
Object
- Object
- DateTime
- Defined in:
- lib/briar.rb
Instance Method Summary collapse
Instance Method Details
#to_time ⇒ Object
87 88 89 90 |
# File 'lib/briar.rb', line 87 def to_time str = self.strftime('%z') Time.send(:make_time, year, mon, day, hour, min, 0, nil, str, nil) end |