Sha256: 5353a76adf7950cb18c9b8aedaff148a0a000dcb372bed30ceeb8fbb1927b5b8

Contents?: true

Size: 447 Bytes

Versions: 2

Compression:

Stored size: 447 Bytes

Contents

# frozen_string_literal: true

# Qfill::Origin.new(:name => "High List",
#                     :elements => [Thing1, Thing3],
#                     :backfill => "Medium List",
#                     :filter => filter1),
module Qfill
  class Origin < Qfill::List
    attr_accessor :backfill

    def initialize(options = {})
      super(options)
      @backfill = options[:backfill]
    end

    def has_backfill?
      !!backfill
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qfill-0.1.1 lib/qfill/origin.rb
qfill-0.1.0 lib/qfill/origin.rb