Class: Filter

Inherits:
Object
  • Object
show all
Defined in:
lib/notroff/filter.rb

Instance Method Summary collapse

Instance Method Details

#included?(paragraph) ⇒ Boolean

Returns:

  • (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