Sha256: f4bb38a24792d025f9008af0c16b3c472419c5c838971e18cac71cf9761ec2d6

Contents?: true

Size: 218 Bytes

Versions: 2

Compression:

Stored size: 218 Bytes

Contents

module CanTango
  module CanCan
    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

2 entries across 2 versions & 1 rubygems

Version Path
cantango-core-0.1.4 lib/cantango/cancan/rule_class.rb
cantango-core-0.1.3 lib/cantango/cancan/rule_class.rb