Class: Filter
- Inherits:
-
Object
- Object
- Filter
- Defined in:
- lib/notroff/filter.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#included?(paragraph) ⇒ Boolean
6 7 8 |
# File 'lib/notroff/filter.rb', line 6 def included?(paragraph) true end |
#process(paragraphs) ⇒ Object
2 3 4 |
# File 'lib/notroff/filter.rb', line 2 def process(paragraphs) paragraphs.find_all {|p| included?(p)} end |