Method: Routing#draw

Defined in:
lib/jails/routing.rb

#draw(block) ⇒ Object

Build the @routes hash by evaluating the block passed in as a proc object from the Application.routes method.



11
12
13
# File 'lib/jails/routing.rb', line 11

def draw(block)   
  instance_eval(&block)
end