Class: Merriam::Utils::Result
- Inherits:
-
Object
- Object
- Merriam::Utils::Result
- Defined in:
- lib/merriam/core/result.rb
Instance Attribute Summary collapse
-
#confidence ⇒ Object
Returns the value of attribute confidence.
-
#language ⇒ Object
Returns the value of attribute language.
Instance Method Summary collapse
-
#initialize(options) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(options) ⇒ Result
Returns a new instance of Result.
8 9 10 11 |
# File 'lib/merriam/core/result.rb', line 8 def initialize() @confidence = ['confidence'] @language = ['language'] end |
Instance Attribute Details
#confidence ⇒ Object
Returns the value of attribute confidence.
6 7 8 |
# File 'lib/merriam/core/result.rb', line 6 def confidence @confidence end |
#language ⇒ Object
Returns the value of attribute language.
6 7 8 |
# File 'lib/merriam/core/result.rb', line 6 def language @language end |