lib/qfill/origin.rb in qfill-0.0.4 vs lib/qfill/origin.rb in qfill-0.1.0
- old
+ new
@@ -1,6 +1,8 @@
-#Qfill::Origin.new(:name => "High List",
+# frozen_string_literal: true
+
+# Qfill::Origin.new(:name => "High List",
# :elements => [Thing1, Thing3],
# :backfill => "Medium List",
# :filter => filter1),
module Qfill
class Origin < Qfill::List
@@ -10,10 +12,9 @@
super(options)
@backfill = options[:backfill]
end
def has_backfill?
- !!self.backfill
+ !!backfill
end
-
end
end