Class: Birt::Api::Options

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/birt/api.rb

Instance Method Summary collapse

Instance Method Details

#before_filter(&block) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/birt/api.rb', line 8

def before_filter(&block)
  if block_given?
    self.before_filter_proc = block
  else
    self.before_filter_proc
  end
end