Sha256: b0c1c9422f7175310073f656006197412054161012bea940d798a5a178041f99
Contents?: true
Size: 303 Bytes
Versions: 1
Compression:
Stored size: 303 Bytes
Contents
module FeatureRich class FeatureHandler attr_reader :name attr_accessor :label, :disabled def initialize(name, options = {}) @name = name.to_sym @label = options[:label] @disabled = !! options[:disabled] end def disabled? !! @disabled end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
feature-rich-0.2.0 | lib/feature-rich/feature_handler.rb |