lib/flipper.rb in flipper-0.7.0.beta2 vs lib/flipper.rb in flipper-0.7.0.beta3
- old
+ new
@@ -66,10 +66,10 @@
#
# Returns the Flipper::Group if group registered.
# Raises Flipper::GroupNotRegistered if group is not registered.
def self.group(name)
groups_registry.get(name)
- rescue Flipper::Registry::KeyNotFound => e
+ rescue Registry::KeyNotFound => e
raise GroupNotRegistered, "Group #{e.key.inspect} has not been registered"
end
# Internal: Registry of all groups_registry.
def self.groups_registry