Sha256: 1d5aaf40f541f794defb110037fdbbac612ee8aa2efab70c5cb3c19a06e7d935

Contents?: true

Size: 239 Bytes

Versions: 11

Compression:

Stored size: 239 Bytes

Contents

module RailsConfig
  class Options < OpenStruct
    def prepend_source!(source)
      source = (Sources::YAMLSource.new(source)) if source.is_a?(String)

      @config_sources ||= []
      @config_sources.prepend(source)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
edgarj-0.02.00 lib/core_ext/rails_config.rb
edgarj-0.01.30 lib/core_ext/rails_config.rb
edgarj-0.01.29 lib/core_ext/rails_config.rb
edgarj-0.01.28 lib/core_ext/rails_config.rb
edgarj-0.01.27 lib/core_ext/rails_config.rb
edgarj-0.01.26 lib/core_ext/rails_config.rb
edgarj-0.01.25 lib/core_ext/rails_config.rb
edgarj-0.01.24 lib/core_ext/rails_config.rb
edgarj-0.01.22 lib/core_ext/rails_config.rb
edgarj-0.01.21 lib/core_ext/rails_config.rb
edgarj-0.01.20 lib/core_ext/rails_config.rb