Module: Firefly

Defined in:
lib/firefly.rb,
lib/firefly/url.rb,
lib/firefly/base62.rb,
lib/firefly/config.rb,
lib/firefly/server.rb,
lib/firefly/version.rb,
lib/firefly/code_factory.rb

Defined Under Namespace

Classes: Base62, CodeFactory, Config, InvalidCodeError, InvalidUrlError, Server, Url

Constant Summary collapse

VERSION =
"1.5.3"

Class Method Summary collapse

Class Method Details

.environmentObject

Get the current environment



30
31
32
# File 'lib/firefly.rb', line 30

def self.environment
  ENV['RACK_ENV'] || "development"
end