Class: Konjak::Segmentor
- Inherits:
-
Object
- Object
- Konjak::Segmentor
- Defined in:
- lib/konjak/segmentor.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(content, options = {}) ⇒ Segmentor
constructor
A new instance of Segmentor.
Constructor Details
#initialize(content, options = {}) ⇒ Segmentor
Returns a new instance of Segmentor.
5 6 7 8 |
# File 'lib/konjak/segmentor.rb', line 5 def initialize(content, = {}) @content = content @options = end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
3 4 5 |
# File 'lib/konjak/segmentor.rb', line 3 def content @content end |
#options ⇒ Object
Returns the value of attribute options.
3 4 5 |
# File 'lib/konjak/segmentor.rb', line 3 def @options end |