Sha256: ae267204173cd897f786d1f9ce2096b28a4ec56c48c66833deda781f8d2bfc30
Contents?: true
Size: 307 Bytes
Versions: 24
Compression:
Stored size: 307 Bytes
Contents
module Eye::Patch class OptionSet < Hash def initialize(option_class, options) Array(options).each do |option| option_data = option_class.name_and_class(option[:name].to_sym) self[option_data[:name]] = option[:config].merge(type: option_data[:type]) end end end end
Version data entries
24 entries across 24 versions & 1 rubygems