Class: Qc::Compile
- Inherits:
-
Struct
- Object
- Struct
- Qc::Compile
- Defined in:
- lib/qc/compile.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
2 3 4 |
# File 'lib/qc/compile.rb', line 2 def id @id end |
#state ⇒ Object
Returns the value of attribute state
2 3 4 |
# File 'lib/qc/compile.rb', line 2 def state @state end |
Instance Method Details
#error? ⇒ Boolean
11 12 13 |
# File 'lib/qc/compile.rb', line 11 def error? state == 'BuildError' end |
#in_queue? ⇒ Boolean
3 4 5 |
# File 'lib/qc/compile.rb', line 3 def in_queue? state == 'InQueue' end |
#success? ⇒ Boolean
7 8 9 |
# File 'lib/qc/compile.rb', line 7 def success? state == 'BuildSuccess' end |