lib/happy.rb in happy-0.0.1 vs lib/happy.rb in happy-0.1.0.pre.1

- old
+ new

@@ -1,5 +1,14 @@ -require "happy/version" +require 'active_support/all' # SMELL +require 'happy/context' +require 'happy/controller' +require 'happy/static' + module Happy - # Your code goes here... + class HappyError < StandardError ; end + class NotFoundError < HappyError ; end + + def self.env + ActiveSupport::StringInquirer.new(ENV['RACK_ENV'] || 'development') + end end