Class: Timetrack::Transform::UnassociatedTime Private
- Inherits:
-
Object
- Object
- Timetrack::Transform::UnassociatedTime
- Defined in:
- lib/timetrack/transform.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Intermediate time representation before it’s been associated with a date
Instance Method Summary collapse
-
#to_time(date) ⇒ Object
private
This method smells of :reek:FeatureEnvy.
Instance Method Details
#to_time(date) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method smells of :reek:FeatureEnvy
40 41 42 |
# File 'lib/timetrack/transform.rb', line 40 def to_time(date) Time.new date.year, date.month, date.day, hour, minute end |