Class: MonthEntry
- Inherits:
-
Object
- Object
- MonthEntry
- Defined in:
- lib/konkit_worklogger/month_entry.rb
Instance Attribute Summary collapse
-
#day_entries ⇒ Object
readonly
Returns the value of attribute day_entries.
-
#days_worked ⇒ Object
readonly
Returns the value of attribute days_worked.
-
#month_balance ⇒ Object
readonly
Returns the value of attribute month_balance.
-
#time_in_month ⇒ Object
readonly
Returns the value of attribute time_in_month.
Instance Method Summary collapse
-
#initialize(time_in_month, days_worked, month_balance, day_entries) ⇒ MonthEntry
constructor
A new instance of MonthEntry.
Constructor Details
#initialize(time_in_month, days_worked, month_balance, day_entries) ⇒ MonthEntry
Returns a new instance of MonthEntry.
8 9 10 11 12 13 |
# File 'lib/konkit_worklogger/month_entry.rb', line 8 def initialize(time_in_month, days_worked, month_balance, day_entries) @time_in_month = time_in_month @days_worked = days_worked @month_balance = month_balance @day_entries = day_entries end |
Instance Attribute Details
#day_entries ⇒ Object (readonly)
Returns the value of attribute day_entries.
6 7 8 |
# File 'lib/konkit_worklogger/month_entry.rb', line 6 def day_entries @day_entries end |
#days_worked ⇒ Object (readonly)
Returns the value of attribute days_worked.
6 7 8 |
# File 'lib/konkit_worklogger/month_entry.rb', line 6 def days_worked @days_worked end |
#month_balance ⇒ Object (readonly)
Returns the value of attribute month_balance.
6 7 8 |
# File 'lib/konkit_worklogger/month_entry.rb', line 6 def month_balance @month_balance end |
#time_in_month ⇒ Object (readonly)
Returns the value of attribute time_in_month.
6 7 8 |
# File 'lib/konkit_worklogger/month_entry.rb', line 6 def time_in_month @time_in_month end |