lib/flipper.rb in flipper-0.27.1 vs lib/flipper.rb in flipper-0.28.0

- old
+ new

@@ -70,15 +70,15 @@ # Public: Use this to register a group by name. # # name - The Symbol name of the group. # block - The block that should be used to determine if the group matches a - # given thing. + # given actor. # # Examples # - # Flipper.register(:admins) { |thing| - # thing.respond_to?(:admin?) && thing.admin? + # Flipper.register(:admins) { |actor| + # actor.respond_to?(:admin?) && actor.admin? # } # # Returns a Flipper::Group. # Raises Flipper::DuplicateGroup if the group is already registered. def register(name, &block)