Class: Tika::Result
- Inherits:
-
Object
- Object
- Tika::Result
- Extended by:
- Forwardable
- Defined in:
- lib/tika/result.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(output, error, status) ⇒ Result
constructor
A new instance of Result.
- #render ⇒ Object
Constructor Details
#initialize(output, error, status) ⇒ Result
Returns a new instance of Result.
13 14 15 |
# File 'lib/tika/result.rb', line 13 def initialize(output, error, status) @output, @error, @status = output, error, status end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
9 10 11 |
# File 'lib/tika/result.rb', line 9 def error @error end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
9 10 11 |
# File 'lib/tika/result.rb', line 9 def output @output end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
9 10 11 |
# File 'lib/tika/result.rb', line 9 def status @status end |
Instance Method Details
#render ⇒ Object
17 18 19 |
# File 'lib/tika/result.rb', line 17 def render output end |