Class: Opener::Kaf::Visualizer::KAFDocument
- Inherits:
-
Object
- Object
- Opener::Kaf::Visualizer::KAFDocument
- Defined in:
- lib/opener/s3_outlet/visualizer.rb
Instance Attribute Summary collapse
-
#entities ⇒ Object
readonly
Returns the value of attribute entities.
-
#opinions ⇒ Object
readonly
Returns the value of attribute opinions.
-
#properties ⇒ Object
readonly
Returns the value of attribute properties.
-
#terms ⇒ Object
readonly
Returns the value of attribute terms.
-
#words ⇒ Object
readonly
Returns the value of attribute words.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ KAFDocument
constructor
A new instance of KAFDocument.
Constructor Details
#initialize(opts = {}) ⇒ KAFDocument
Returns a new instance of KAFDocument.
194 195 196 197 198 199 200 |
# File 'lib/opener/s3_outlet/visualizer.rb', line 194 def initialize(opts={}) @words = opts.fetch(:words) @terms = opts.fetch(:terms) @entities = opts.fetch(:entities) @properties = opts.fetch(:properties) @opinions = opts.fetch(:opinions) end |
Instance Attribute Details
#entities ⇒ Object (readonly)
Returns the value of attribute entities.
192 193 194 |
# File 'lib/opener/s3_outlet/visualizer.rb', line 192 def entities @entities end |
#opinions ⇒ Object (readonly)
Returns the value of attribute opinions.
192 193 194 |
# File 'lib/opener/s3_outlet/visualizer.rb', line 192 def opinions @opinions end |
#properties ⇒ Object (readonly)
Returns the value of attribute properties.
192 193 194 |
# File 'lib/opener/s3_outlet/visualizer.rb', line 192 def properties @properties end |
#terms ⇒ Object (readonly)
Returns the value of attribute terms.
192 193 194 |
# File 'lib/opener/s3_outlet/visualizer.rb', line 192 def terms @terms end |
#words ⇒ Object (readonly)
Returns the value of attribute words.
192 193 194 |
# File 'lib/opener/s3_outlet/visualizer.rb', line 192 def words @words end |