Class: HrLite::TeamDay::Row
- Inherits:
-
Struct
- Object
- Struct
- HrLite::TeamDay::Row
- Defined in:
- app/services/hr_lite/team_day.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
-
#day_seconds ⇒ Object
Returns the value of attribute day_seconds.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#leave ⇒ Object
Returns the value of attribute leave.
-
#month_seconds ⇒ Object
Returns the value of attribute month_seconds.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#record ⇒ Object
Returns the value of attribute record.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date
7 8 9 |
# File 'app/services/hr_lite/team_day.rb', line 7 def date @date end |
#day_seconds ⇒ Object
Returns the value of attribute day_seconds
7 8 9 |
# File 'app/services/hr_lite/team_day.rb', line 7 def day_seconds @day_seconds end |
#kind ⇒ Object
Returns the value of attribute kind
7 8 9 |
# File 'app/services/hr_lite/team_day.rb', line 7 def kind @kind end |
#leave ⇒ Object
Returns the value of attribute leave
7 8 9 |
# File 'app/services/hr_lite/team_day.rb', line 7 def leave @leave end |
#month_seconds ⇒ Object
Returns the value of attribute month_seconds
7 8 9 |
# File 'app/services/hr_lite/team_day.rb', line 7 def month_seconds @month_seconds end |
#profile ⇒ Object
Returns the value of attribute profile
7 8 9 |
# File 'app/services/hr_lite/team_day.rb', line 7 def profile @profile end |
#record ⇒ Object
Returns the value of attribute record
7 8 9 |
# File 'app/services/hr_lite/team_day.rb', line 7 def record @record end |
#user ⇒ Object
Returns the value of attribute user
7 8 9 |
# File 'app/services/hr_lite/team_day.rb', line 7 def user @user end |
Instance Method Details
#date_today? ⇒ Boolean
9 10 11 |
# File 'app/services/hr_lite/team_day.rb', line 9 def date_today? date == Date.current end |