Sha256: 989010364fddb2590e2cae4a4368a438e9bd04b59b5a38fdd56b27b7ee27ccad

Contents?: true

Size: 384 Bytes

Versions: 52

Compression:

Stored size: 384 Bytes

Contents

module Refinery #:nodoc:
  # Include this module to get access to a shared configuration
  module Configurable
    # Get the configuration. If the config is nil then this will use
    # the default shared configuration.
    def config
      @config ||= Refinery::Config.default
    end
    
    # Set the configuration.
    def config=(config)
      @config = config
    end
  end
end

Version data entries

52 entries across 52 versions & 2 rubygems

Version Path
aeden-refinery-0.9.8 lib/refinery/configurable.rb
aeden-refinery-0.9.9 lib/refinery/configurable.rb
refinery-0.12.2 lib/refinery/configurable.rb
refinery-0.12.1 lib/refinery/configurable.rb
refinery-0.12.0 lib/refinery/configurable.rb
refinery-0.11.0 lib/refinery/configurable.rb
refinery-0.10.11 lib/refinery/configurable.rb
refinery-0.10.10 lib/refinery/configurable.rb
refinery-0.10.8 lib/refinery/configurable.rb
refinery-0.10.9 lib/refinery/configurable.rb
refinery-0.9.3 lib/refinery/configurable.rb
refinery-0.9.4 lib/refinery/configurable.rb
refinery-0.9.5 lib/refinery/configurable.rb
refinery-0.9.6 lib/refinery/configurable.rb
refinery-0.9.7 lib/refinery/configurable.rb
refinery-0.9.8 lib/refinery/configurable.rb
refinery-0.9.9 lib/refinery/configurable.rb
refinery-0.9.10 lib/refinery/configurable.rb
refinery-0.9.11 lib/refinery/configurable.rb
refinery-0.9.12 lib/refinery/configurable.rb