Module: Authorization::Rails
- Defined in:
- lib/declarative_authorization_padrino.rb
Class Method Summary collapse
Class Method Details
.version ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/declarative_authorization_padrino.rb', line 8 def self.version require 'padrino' unless ::Padrino.respond_to? :version if ::Padrino.version >= "0.10.3" "3.1" else "3" end end |