Class: Worklog::Decorator::Person

Inherits:
Struct
  • Object
show all
Defined in:
lib/worklog/decorator.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dateObject

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



13
14
15
# File 'lib/worklog/decorator.rb', line 13

def date
  @date
end

#rewardObject

Returns the value of attribute reward

Returns:

  • (Object)

    the current value of reward



13
14
15
# File 'lib/worklog/decorator.rb', line 13

def reward
  @reward
end

#spentObject

Returns the value of attribute spent

Returns:

  • (Object)

    the current value of spent



13
14
15
# File 'lib/worklog/decorator.rb', line 13

def spent
  @spent
end

#taskObject

Returns the value of attribute task

Returns:

  • (Object)

    the current value of task



13
14
15
# File 'lib/worklog/decorator.rb', line 13

def task
  @task
end