Method: Factbase::Pre#initialize
- Defined in:
- lib/factbase/pre.rb
#initialize(fb, &block) ⇒ Pre
Returns a new instance of Pre.
34 35 36 37 38 |
# File 'lib/factbase/pre.rb', line 34 def initialize(fb, &block) raise 'The "fb" is nil' if fb.nil? @fb = fb @block = block end |