Module: Inflect

Defined in:
lib/inflect.rb,
lib/inflect/i18n.rb,
lib/inflect/loader.rb,
lib/inflect/version.rb,
lib/inflect/director.rb,
lib/inflect/response.rb,
lib/inflect/inflector.rb,
lib/inflect/responsive.rb,
lib/inflect/configuration.rb,
lib/inflect/abstract_service.rb

Defined Under Namespace

Modules: I18n, Inflector, Loader, Responsive Classes: AbstractService, Configuration, Director, Response

Constant Summary collapse

VERSION =
"0.2.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject (readonly)

Returns the value of attribute configuration


3
4
5
# File 'lib/inflect/configuration.rb', line 3

def configuration
  @configuration
end

Class Method Details

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

Yields:


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

def self.configure(&block)
  yield configuration
end

.handle(words) ⇒ Object


8
9
10
# File 'lib/inflect.rb', line 8

def handle(words)
  director.handle(words)
end