Top Level Namespace

Defined Under Namespace

Modules: Fixjour Classes: Object

Instance Method Summary collapse

Instance Method Details

#Fixjour(options = {}, &block) ⇒ Object

This method is just for prettiness



19
20
21
22
23
24
25
# File 'lib/fixjour.rb', line 19

def Fixjour(options={}, &block)
  return Fixjour unless block_given?
  Fixjour.allow_redundancy = options[:allow_redundancy]
  Fixjour.evaluate(&block)
  Fixjour.verify! if options[:verify]
  Fixjour.allow_redundancy = false
end