Class: Bubble::KeywordsMaker::Keywords
- Inherits:
-
Object
- Object
- Bubble::KeywordsMaker::Keywords
- Defined in:
- lib/bubble/keywords_maker/keywords.rb
Instance Attribute Summary collapse
-
#original_text ⇒ Object
Returns the value of attribute original_text.
Instance Method Summary collapse
-
#initialize(text) ⇒ Keywords
constructor
A new instance of Keywords.
- #keywords(limit = 10) ⇒ Object
Constructor Details
#initialize(text) ⇒ Keywords
Returns a new instance of Keywords.
6 7 8 |
# File 'lib/bubble/keywords_maker/keywords.rb', line 6 def initialize(text) self.original_text = text end |
Instance Attribute Details
#original_text ⇒ Object
Returns the value of attribute original_text.
4 5 6 |
# File 'lib/bubble/keywords_maker/keywords.rb', line 4 def original_text @original_text end |