Class: NumberHumanizer::Configuration
- Inherits:
-
Module
- Object
- Module
- NumberHumanizer::Configuration
- Defined in:
- lib/number_humanizer/configuration.rb
Instance Method Summary collapse
-
#initialize(**attributes) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(**attributes) ⇒ Configuration
Returns a new instance of Configuration.
3 4 5 6 7 8 |
# File 'lib/number_humanizer/configuration.rb', line 3 def initialize(**attributes) attributes.each do |name, default| define_reader(name, default) define_writer(name) end end |