lib/flippeur/feature.rb in flippeur-1.0.0 vs lib/flippeur/feature.rb in flippeur-1.0.1

- old
+ new

@@ -5,10 +5,10 @@ def initialize(name, &block) @name = name @block = block end - def available?(user) - block.call user + def available?(actor) + block.call actor end end end