Sha256: 4801dcc51e16228bf0d70722f639525c89b31b484f4989e128e7f898ff71f410

Contents?: true

Size: 346 Bytes

Versions: 3

Compression:

Stored size: 346 Bytes

Contents

require 'sinatra'
require 'gon/sinatra/store'
require 'gon/sinatra/helpers'

module Gon
  module Sinatra
    def self.registered(base)
      base.helpers(Gon::Sinatra::GonHelpers, Gon::Sinatra::Helpers)
    end

    module Rabl
      def self.registered(base)
        require 'rabl'
        require 'gon/sinatra/rabl'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gon-sinatra-0.1.2 lib/gon-sinatra.rb
gon-sinatra-0.1.1 lib/gon-sinatra.rb
gon-sinatra-0.1.0 lib/gon-sinatra.rb