Sha256: 2d2d31e8f5258106e1d5a7484024cd87b5aabee488c43eb6218cd801edb70fc5

Contents?: true

Size: 269 Bytes

Versions: 2

Compression:

Stored size: 269 Bytes

Contents

require 'rack'
require 'happy/context'
require 'happy/controller'

module Happy
  module Errors
    class Base < StandardError ; end
    class NotFound < Base ; end
  end

  def self.env
    ActiveSupport::StringInquirer.new(ENV['RACK_ENV'] || 'development')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
happy-0.1.0.pre13 lib/happy.rb
happy-0.1.0.pre12 lib/happy.rb