Top Level Namespace

Defined Under Namespace

Modules: Fixjour Classes: Hash, Object

Instance Method Summary collapse

Instance Method Details

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

This method is just for prettiness



22
23
24
25
26
27
28
# File 'lib/fixjour.rb', line 22

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