module Rack::Raml

Constants

VERSION

Public Class Methods

create(file) click to toggle source
# File lib/rack/raml.rb, line 8
def self.create(file)
  Rack::Raml::App.new(file)
end
routes(file, &block) click to toggle source
# File lib/rack/raml.rb, line 12
def self.routes(file, &block)
  create(file).tap(&block)
end