Sha256: c461d5879988657ee01ea0eed7e57ef5417c94e389c36ac01e63546f440a8572
Contents?: true
Size: 368 Bytes
Versions: 81
Compression:
Stored size: 368 Bytes
Contents
require "recursive-open-struct" module Jets::Commands::Db::Tasks::Dummy class Config < RecursiveOpenStruct def load_database_yaml # :nodoc: require "rails/application/dummy_erb_compiler" path = "#{Jets.root}/config/database.yml" yaml = Pathname.new(path) erb = DummyERB.new(yaml.read) YAML.load(erb.result) || {} end end end
Version data entries
81 entries across 81 versions & 2 rubygems