Module: SimpleRoles::Macros

Defined in:
lib/simple_roles/macros.rb

Instance Method Summary collapse

Instance Method Details

#simple_roles(&block) ⇒ Object



3
4
5
6
# File 'lib/simple_roles/macros.rb', line 3

def simple_roles &block
  SimpleRoles.config.instance_exec(SimpleRoles.config, &block) if block
  SimpleRoles.package self
end