Module: ClassName

Includes:
Helper
Defined in:
lib/class_name.rb,
lib/class_name/helper.rb,
lib/class_name/version.rb,
lib/class_name/configuration.rb,
lib/class_name/number_converter.rb

Defined Under Namespace

Modules: Helper, NumberConverter Classes: Configuration

Constant Summary collapse

VERSION =
'1.0.0'

Class Attribute Summary collapse

Class Method Summary collapse

Methods included from Helper

#class_name

Class Attribute Details

.configurationObject


6
7
8
# File 'lib/class_name/configuration.rb', line 6

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

Class Method Details

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

Yields:


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

def self.configure
  yield(configuration)
end

.resetObject


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

def self.reset
  @configuration = Configuration.new
end