Module: RoleUp

Defined in:
lib/role_up.rb,
lib/role_up/errors.rb,
lib/role_up/railtie.rb,
lib/role_up/version.rb

Defined Under Namespace

Modules: Errors Classes: Railtie

Constant Summary collapse

VERSION =

Our gem version

"0.1.5"
@@glob =
"**/*_ability.rb"
@@authorization_class =
:user

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Fancy setup block

Yields:

  • (_self)

Yield Parameters:

  • _self (RoleUp)

    the object that the method was called on



20
21
22
# File 'lib/role_up.rb', line 20

def self.setup
  yield self
end