class Ecogem::Util::Config::Entry
Attributes
key[R]
Public Class Methods
create(config, key, options = {})
click to toggle source
# File lib/ecogem/util/config/entry.rb, line 12 def self.create(config, key, options = {}) klass = options[:class] || config.find_entry_class(key) klass.new(config, key) end
new(config, key)
click to toggle source
# File lib/ecogem/util/config/entry.rb, line 7 def initialize(config, key) @config = config @key = key end