lib/cancannible/config.rb in cancannible-1.0.1 vs lib/cancannible/config.rb in cancannible-2.0.0
- old
+ new
@@ -1,7 +1,6 @@
module Cancannible
-
mattr_accessor :refinements
mattr_accessor :get_cached_abilities
mattr_accessor :store_cached_abilities
# Default way to configure the gem. Yields a block that gives access to all the config variables.
@@ -22,7 +21,6 @@
def self.refine_access(refinement={})
stage = (refinement.delete(:stage) || 1) - 1
self.refinements[stage] ||= []
self.refinements[stage] << refinement
end
-
-end
\ No newline at end of file
+end