Sha256: 7f875292632cc089de6d68bc252fea9d3d64da94826bfba1f2f360abb7dd096f
Contents?: true
Size: 332 Bytes
Versions: 2
Compression:
Stored size: 332 Bytes
Contents
class ENVied::Variable attr_reader :name, :type, :group def initialize(name, type, **options) @name = name.to_sym @type = type.to_sym @group = options.fetch(:group, :default).to_sym end def ==(other) self.class == other.class && [name, type, group] == [other.name, other.type, other.group] end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
envied-0.10.0.alpha3 | lib/envied/variable.rb |
envied-0.10.0.alpha1 | lib/envied/variable.rb |