Class: Rundown::Processors::Hashtags
- Inherits:
-
Rundown::Processor
- Object
- Rundown::Processor
- Rundown::Processors::Hashtags
- Defined in:
- lib/rundown/processors/hashtags.rb
Constant Summary
Constants inherited from Rundown::Processor
Rundown::Processor::PUNCTUATION
Instance Attribute Summary
Attributes inherited from Rundown::Processor
Instance Method Summary collapse
Methods inherited from Rundown::Processor
Constructor Details
This class inherits a constructor from Rundown::Processor
Instance Method Details
#process ⇒ Object
4 5 6 |
# File 'lib/rundown/processors/hashtags.rb', line 4 def process words.select { |word| word.start_with?('#') && word.size > 1 } end |