Module: SimpleRoles

Extended by:
SimpleRoles
Included in:
SimpleRoles
Defined in:
lib/simple_roles.rb,
lib/simple_roles/one.rb,
lib/simple_roles/many.rb,
lib/simple_roles/engine.rb,
lib/simple_roles/macros.rb,
lib/simple_roles/version.rb,
lib/simple_roles/packager.rb,
lib/simple_roles/configuration.rb,
lib/simple_roles/one/persistence.rb,
lib/simple_roles/many/persistence.rb,
lib/simple_roles/one/roles_methods.rb,
lib/simple_roles/many/roles_methods.rb

Defined Under Namespace

Modules: Configuration, Macros, Many, One, Packager Classes: Engine

Constant Summary collapse

VERSION =
"0.0.12"

Instance Method Summary collapse

Instance Method Details

#configObject



25
26
27
# File 'lib/simple_roles.rb', line 25

def config
  SimpleRoles::Configuration
end

#configure(&block) ⇒ Object



21
22
23
# File 'lib/simple_roles.rb', line 21

def configure &block
  config.instance_exec config, &block
end

#packagerObject



29
30
31
# File 'lib/simple_roles.rb', line 29

def packager
  SimpleRoles::Packager
end