Sha256: ca7d81d9946621ce997a62033d84af8daaa8b105d69b6aa3ecd8851048641540
Contents?: true
Size: 309 Bytes
Versions: 2
Compression:
Stored size: 309 Bytes
Contents
require 'ostruct' module Ez module Configurator def self.included(base) base.extend Engine end module Engine class Store < OpenStruct; end def configure(&block) block.call(config) end def config @config ||= Store.new end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ez-core-0.1.1 | lib/ez/configurator.rb |
ez-core-0.1.0 | lib/ez/configurator.rb |