Method: CodelessCode::Filters::Headers::Base#call
- Defined in:
- lib/codeless_code/filters/headers/base.rb
#call(fable) ⇒ Object
34 35 36 37 38 39 40 |
# File 'lib/codeless_code/filters/headers/base.rb', line 34 def call(fable) if fable.header?(@key) @tests.any? ? test(parse(fable[@key])) : !@exclude else @exclude end end |