Module: Roleable

Defined in:
lib/roleable.rb,
lib/roleable/version.rb,
lib/generators/roleable/install/install_generator.rb

Defined Under Namespace

Modules: AppliedRole, Generators, Resource, Role, Subject Classes: Configuration

Constant Summary collapse

VERSION =
'0.2.1'

Class Method Summary collapse

Class Method Details

.configurationObject



10
11
12
# File 'lib/roleable.rb', line 10

def self.configuration
  @configuration ||= Roleable::Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



14
15
16
# File 'lib/roleable.rb', line 14

def self.configure
  yield configuration if block_given?
end