Sha256: 46823a924ddfb268c30d56c345fc071cc6efd7dcce40fb837427d11fee938f7b
Contents?: true
Size: 513 Bytes
Versions: 2
Compression:
Stored size: 513 Bytes
Contents
module Dry module Configurable class Config # @private class Value # @private NONE = ::Object.new.freeze attr_reader :name, :processor def initialize(name, value, processor) @name = name.to_sym @value = value @processor = processor end def value none? ? nil : @value end def none? @value.equal?(::Dry::Configurable::Config::Value::NONE) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dry-configurable-0.7.0 | lib/dry/configurable/config/value.rb |
dry-configurable-0.6.2 | lib/dry/configurable/config/value.rb |