Module: Adjective

Defined in:
lib/modules/imbibable.rb,
lib/version.rb,
lib/railties.rb,
lib/adjective.rb,
lib/included_models.rb,
lib/modules/vulnerable.rb,
lib/generators/setup_generator.rb,
lib/templates/add_columns_migration.rb,
lib/templates/create_adjective_class.rb,
lib/templates/create_table_migration.rb

Overview

Module for experience gain

Defined Under Namespace

Modules: Generators, Imbibable, Vulnerable Classes: AddColumnsMigration, Configuration, CreateAdjectiveClass, CreateTableMigration, Error, IncludedModels, Railtie

Constant Summary collapse

VERSION =
"0.1.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

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

Yields:



32
33
34
35
# File 'lib/adjective.rb', line 32

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration) if block_given?
end