Sha256: 589af79dce1b29c91b21076fbe02740dda5f3fbadaf834bd4bdc2288db1a1bf0
Contents?: true
Size: 547 Bytes
Versions: 4
Compression:
Stored size: 547 Bytes
Contents
# This is the base queue class for Origin queues and Result queues. # #Qfill::List.new(:name => "High List", # :elements => [Thing1, Thing3], # :filter => filter1), module Qfill class List attr_accessor :name, :elements, :filter def initialize(options = {}) raise ArgumentError, "Missing required option :name for #{self.class}.new()" unless options && options[:name] @name = options[:name] @elements = options[:elements] || [] @filter = options[:filter] end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
qfill-0.0.4 | lib/qfill/list.rb |
qfill-0.0.3 | lib/qfill/list.rb |
qfill-0.0.2 | lib/qfill/list.rb |
qfill-0.0.1 | lib/qfill/list.rb |