Class: Opener::Kaf::Visualizer::KAFDocument
- Inherits:
-
Object
- Object
- Opener::Kaf::Visualizer::KAFDocument
- Defined in:
- lib/opener/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.
191 192 193 194 195 196 197 |
# File 'lib/opener/outlet/visualizer.rb', line 191 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.
189 190 191 |
# File 'lib/opener/outlet/visualizer.rb', line 189 def entities @entities end |
#opinions ⇒ Object (readonly)
Returns the value of attribute opinions.
189 190 191 |
# File 'lib/opener/outlet/visualizer.rb', line 189 def opinions @opinions end |
#properties ⇒ Object (readonly)
Returns the value of attribute properties.
189 190 191 |
# File 'lib/opener/outlet/visualizer.rb', line 189 def properties @properties end |
#terms ⇒ Object (readonly)
Returns the value of attribute terms.
189 190 191 |
# File 'lib/opener/outlet/visualizer.rb', line 189 def terms @terms end |
#words ⇒ Object (readonly)
Returns the value of attribute words.
189 190 191 |
# File 'lib/opener/outlet/visualizer.rb', line 189 def words @words end |