Class: Qfill::Origin

Inherits:
List
  • Object
show all
Defined in:
lib/qfill/origin.rb

Instance Attribute Summary collapse

Attributes inherited from List

#elements, #filter, #name

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Origin

Returns a new instance of Origin.



9
10
11
12
# File 'lib/qfill/origin.rb', line 9

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

Instance Attribute Details

#backfillObject

Returns the value of attribute backfill.



7
8
9
# File 'lib/qfill/origin.rb', line 7

def backfill
  @backfill
end

Instance Method Details

#has_backfill?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/qfill/origin.rb', line 14

def has_backfill?
  !!self.backfill
end