Class: Atig::OFilter::Footer
- Inherits:
-
Object
- Object
- Atig::OFilter::Footer
- Defined in:
- lib/atig/ofilter/footer.rb
Instance Method Summary collapse
- #call(q) ⇒ Object
-
#initialize(context) ⇒ Footer
constructor
A new instance of Footer.
Constructor Details
#initialize(context) ⇒ Footer
Returns a new instance of Footer.
6 7 8 |
# File 'lib/atig/ofilter/footer.rb', line 6 def initialize(context) @opts = context.opts end |
Instance Method Details
#call(q) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/atig/ofilter/footer.rb', line 10 def call(q) if @opts. && !@opts..empty? then q.merge :status => "#{q[:status]} #{@opts.}" else q end end |