Class: Logbook::TaskEntry

Inherits:
Struct
  • Object
show all
Defined in:
lib/logbook/task_entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#line_numberObject

Returns the value of attribute line_number

Returns:

  • the current value of line_number



2
3
4
# File 'lib/logbook/task_entry.rb', line 2

def line_number
  @line_number
end

#noteObject

Returns the value of attribute note

Returns:

  • the current value of note



2
3
4
# File 'lib/logbook/task_entry.rb', line 2

def note
  @note
end

#propertiesObject

Returns the value of attribute properties

Returns:

  • the current value of properties



2
3
4
# File 'lib/logbook/task_entry.rb', line 2

def properties
  @properties
end

#statusObject

Returns the value of attribute status

Returns:

  • the current value of status



2
3
4
# File 'lib/logbook/task_entry.rb', line 2

def status
  @status
end

#tagsObject

Returns the value of attribute tags

Returns:

  • the current value of tags



2
3
4
# File 'lib/logbook/task_entry.rb', line 2

def tags
  @tags
end

#timeObject

Returns the value of attribute time

Returns:

  • the current value of time



2
3
4
# File 'lib/logbook/task_entry.rb', line 2

def time
  @time
end

#titleObject

Returns the value of attribute title

Returns:

  • the current value of title



2
3
4
# File 'lib/logbook/task_entry.rb', line 2

def title
  @title
end

Instance Method Details

#merge_page_properties(properties) ⇒ Object



3
4
5
# File 'lib/logbook/task_entry.rb', line 3

def merge_page_properties(properties)
  self.properties = properties.merge(self.properties)
end