Class: Fiona7::Tasks::Task
- Inherits:
-
Struct
- Object
- Struct
- Fiona7::Tasks::Task
- Defined in:
- lib/fiona7/tasks/task.rb
Instance Attribute Summary collapse
-
#comment ⇒ Object
Returns the value of attribute comment.
-
#group_name ⇒ Object
Returns the value of attribute group_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#obj ⇒ Object
Returns the value of attribute obj.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
-
#title ⇒ Object
Returns the value of attribute title.
-
#type ⇒ Object
Returns the value of attribute type.
-
#user_login ⇒ Object
Returns the value of attribute user_login.
Instance Method Summary collapse
Instance Attribute Details
#comment ⇒ Object
Returns the value of attribute comment
3 4 5 |
# File 'lib/fiona7/tasks/task.rb', line 3 def comment @comment end |
#group_name ⇒ Object
Returns the value of attribute group_name
3 4 5 |
# File 'lib/fiona7/tasks/task.rb', line 3 def group_name @group_name end |
#id ⇒ Object
Returns the value of attribute id
3 4 5 |
# File 'lib/fiona7/tasks/task.rb', line 3 def id @id end |
#obj ⇒ Object
Returns the value of attribute obj
3 4 5 |
# File 'lib/fiona7/tasks/task.rb', line 3 def obj @obj end |
#timestamp ⇒ Object
Returns the value of attribute timestamp
3 4 5 |
# File 'lib/fiona7/tasks/task.rb', line 3 def @timestamp end |
#title ⇒ Object
Returns the value of attribute title
3 4 5 |
# File 'lib/fiona7/tasks/task.rb', line 3 def title @title end |
#type ⇒ Object
Returns the value of attribute type
3 4 5 |
# File 'lib/fiona7/tasks/task.rb', line 3 def type @type end |
#user_login ⇒ Object
Returns the value of attribute user_login
3 4 5 |
# File 'lib/fiona7/tasks/task.rb', line 3 def user_login @user_login end |
Instance Method Details
#obj_id ⇒ Object
4 5 6 |
# File 'lib/fiona7/tasks/task.rb', line 4 def obj_id self.obj.try(:id) end |