module StartHer

Constants

VERSION

Attributes

config[RW]

Public Instance Methods

configure() { |config| ... } click to toggle source
# File lib/start_her.rb, line 21
def configure
  yield config
end
env() click to toggle source
# File lib/start_her.rb, line 25
def env
  (ENV['RACK_ENV'] || ENV['RAILS_ENV'] || 'development').tap do |e|
    fail 'Invalid environment name' unless %w(development test staging production).include?(e)
  end
end