Class: Pinspec::Batch::Outcome
- Inherits:
-
Data
- Object
- Data
- Pinspec::Batch::Outcome
- Defined in:
- lib/pinspec/batch.rb
Instance Attribute Summary collapse
-
#detail ⇒ Object
readonly
Returns the value of attribute detail.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#pinned ⇒ Object
readonly
Returns the value of attribute pinned.
-
#spec_path ⇒ Object
readonly
Returns the value of attribute spec_path.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
Instance Attribute Details
#detail ⇒ Object (readonly)
Returns the value of attribute detail
7 8 9 |
# File 'lib/pinspec/batch.rb', line 7 def detail @detail end |
#file ⇒ Object (readonly)
Returns the value of attribute file
7 8 9 |
# File 'lib/pinspec/batch.rb', line 7 def file @file end |
#pinned ⇒ Object (readonly)
Returns the value of attribute pinned
7 8 9 |
# File 'lib/pinspec/batch.rb', line 7 def pinned @pinned end |
#spec_path ⇒ Object (readonly)
Returns the value of attribute spec_path
7 8 9 |
# File 'lib/pinspec/batch.rb', line 7 def spec_path @spec_path end |
#status ⇒ Object (readonly)
Returns the value of attribute status
7 8 9 |
# File 'lib/pinspec/batch.rb', line 7 def status @status end |
#target ⇒ Object (readonly)
Returns the value of attribute target
7 8 9 |
# File 'lib/pinspec/batch.rb', line 7 def target @target end |
Instance Method Details
#pinned? ⇒ Boolean
8 9 10 |
# File 'lib/pinspec/batch.rb', line 8 def pinned? status == :pinned end |
#refused? ⇒ Boolean
12 13 14 |
# File 'lib/pinspec/batch.rb', line 12 def refused? status == :refused end |