Class: SourceMonitor::Items::ItemCreator::Result
- Inherits:
-
Struct
- Object
- Struct
- SourceMonitor::Items::ItemCreator::Result
- Defined in:
- lib/source_monitor/items/item_creator.rb
Instance Attribute Summary collapse
-
#item ⇒ Object
Returns the value of attribute item.
-
#matched_by ⇒ Object
Returns the value of attribute matched_by.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#item ⇒ Object
Returns the value of attribute item
17 18 19 |
# File 'lib/source_monitor/items/item_creator.rb', line 17 def item @item end |
#matched_by ⇒ Object
Returns the value of attribute matched_by
17 18 19 |
# File 'lib/source_monitor/items/item_creator.rb', line 17 def matched_by @matched_by end |
#status ⇒ Object
Returns the value of attribute status
17 18 19 |
# File 'lib/source_monitor/items/item_creator.rb', line 17 def status @status end |
Instance Method Details
#created? ⇒ Boolean
18 19 20 |
# File 'lib/source_monitor/items/item_creator.rb', line 18 def created? status == :created end |
#unchanged? ⇒ Boolean
26 27 28 |
# File 'lib/source_monitor/items/item_creator.rb', line 26 def unchanged? status == :unchanged end |
#updated? ⇒ Boolean
22 23 24 |
# File 'lib/source_monitor/items/item_creator.rb', line 22 def updated? status == :updated end |