Class: Clacky::Vision::Resolver::Result
- Inherits:
-
Struct
- Object
- Struct
- Clacky::Vision::Resolver::Result
- Defined in:
- lib/clacky/vision/resolver.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#status ⇒ Object
Returns the value of attribute status.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
33 34 35 |
# File 'lib/clacky/vision/resolver.rb', line 33 def error @error end |
#status ⇒ Object
Returns the value of attribute status
33 34 35 |
# File 'lib/clacky/vision/resolver.rb', line 33 def status @status end |
#text ⇒ Object
Returns the value of attribute text
33 34 35 |
# File 'lib/clacky/vision/resolver.rb', line 33 def text @text end |
Instance Method Details
#bad_image? ⇒ Boolean
37 |
# File 'lib/clacky/vision/resolver.rb', line 37 def bad_image?; status == :bad_image; end |
#call_failed? ⇒ Boolean
36 |
# File 'lib/clacky/vision/resolver.rb', line 36 def call_failed?; status == :call_failed; end |
#empty? ⇒ Boolean
35 |
# File 'lib/clacky/vision/resolver.rb', line 35 def empty?; status == :empty; end |
#ok? ⇒ Boolean
34 |
# File 'lib/clacky/vision/resolver.rb', line 34 def ok?; status == :ok; end |