Module: Kernel

Defined in:
lib/sortah/patches.rb

Instance Method Summary collapse

Instance Method Details

#sortah(&block) ⇒ Object



2
3
4
5
6
# File 'lib/sortah/patches.rb', line 2

def sortah(&block)
  instance = Sortah::Parser.instance
  instance.handle &block if block_given? 
  Sortah::Handler.build_from(instance)
end