Sha256: 987ae5b64a9e3b4f928f9b0f81590098c135746931b95c49a3450eba16cfec24
Contents?: true
Size: 371 Bytes
Versions: 18
Compression:
Stored size: 371 Bytes
Contents
begin module Voltos class Railtie < Rails::Railtie config.before_configuration { load } def load Voltos.configure Voltos.load end def root Rails.root || Pathname.new(ENV["RAILS_ROOT"] || Dir.pwd) end def self.load instance.load end end end rescue NameError # Rails not loaded end
Version data entries
18 entries across 18 versions & 1 rubygems