Sha256: 59cd6f4d5f6c3e0e02af0261e31d1d4bfe6a9bb4d8f92792693b5db69779fd05

Contents?: true

Size: 307 Bytes

Versions: 7

Compression:

Stored size: 307 Bytes

Contents

require 'active_support/all' # SMELL

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

7 entries across 7 versions & 1 rubygems

Version Path
happy-0.1.0.pre11 lib/happy.rb
happy-0.1.0.pre10 lib/happy.rb
happy-0.1.0.pre9 lib/happy.rb
happy-0.1.0.pre8 lib/happy.rb
happy-0.1.0.pre7 lib/happy.rb
happy-0.1.0.pre.6 lib/happy.rb
happy-0.1.0.pre.5 lib/happy.rb