Sha256: f23b7cc3288cc21dd8eb4e0c458fa20cf2e9237d66067a5c569ef4e6b70da6a0

Contents?: true

Size: 217 Bytes

Versions: 25

Compression:

Stored size: 217 Bytes

Contents

module CanTango
  module Rules
    module RuleClass
      # CanCan 1.5 compatibility
      def rule_class
        return CanCan::Rule if defined? CanCan::Rule
        CanCan::CanDefinition
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
cantango-core-0.1.2 lib/cantango/rules/rule_class.rb
cantango-core-0.1.1 lib/cantango/rules/rule_class.rb
cantango-core-0.1.0 lib/cantango/rules/rule_class.rb
cantango-0.9.4.7 lib/cantango/rules/rule_class.rb
cantango-0.9.4.6 lib/cantango/rules/rule_class.rb
cantango-0.9.4.5 lib/cantango/rules/rule_class.rb
cantango-0.9.4.3 lib/cantango/rules/rule_class.rb
cantango-0.9.4.2 lib/cantango/rules/rule_class.rb
cantango-0.9.4.1 lib/cantango/rules/rule_class.rb
cantango-0.9.4 lib/cantango/rules/rule_class.rb
cantango-0.9.3.2 lib/cantango/rules/rule_class.rb
cantango-0.8.9.5 lib/cantango/rules/rule_class.rb
cantango-0.8.9.4 lib/cantango/rules/rule_class.rb
cantango-0.8.9.3 lib/cantango/rules/rule_class.rb
cantango-0.8.9.2 lib/cantango/rules/rule_class.rb
cantango-0.8.9.1 lib/cantango/rules/rule_class.rb
cantango-0.8.9 lib/cantango/rules/rule_class.rb
cantango-0.8.8.1 lib/cantango/rules/rule_class.rb
cantango-0.8.8 lib/cantango/rules/rule_class.rb
cantango-0.8.7 lib/cantango/rules/rule_class.rb