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-0.8.6.2 lib/cantango/rules/rule_class.rb
cantango-0.8.6.1 lib/cantango/rules/rule_class.rb
cantango-0.8.6 lib/cantango/rules/rule_class.rb
cantango-0.8.5.1 lib/cantango/rules/rule_class.rb
cantango-0.8.0 lib/cantango/rules/rule_class.rb