Class: Humanizer::Config
- Inherits:
-
Object
- Object
- Humanizer::Config
- Defined in:
- lib/humanizer/config.rb
Instance Attribute Summary collapse
-
#array_delimeter ⇒ Object
Returns the value of attribute array_delimeter.
-
#hash_delimeter ⇒ Object
Returns the value of attribute hash_delimeter.
-
#key_val_delimeter ⇒ Object
Returns the value of attribute key_val_delimeter.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
5 6 7 8 9 |
# File 'lib/humanizer/config.rb', line 5 def initialize @hash_delimeter = ',' @array_delimeter = ',' @key_val_delimeter = ':' end |
Instance Attribute Details
#array_delimeter ⇒ Object
Returns the value of attribute array_delimeter.
3 4 5 |
# File 'lib/humanizer/config.rb', line 3 def array_delimeter @array_delimeter end |
#hash_delimeter ⇒ Object
Returns the value of attribute hash_delimeter.
3 4 5 |
# File 'lib/humanizer/config.rb', line 3 def hash_delimeter @hash_delimeter end |
#key_val_delimeter ⇒ Object
Returns the value of attribute key_val_delimeter.
3 4 5 |
# File 'lib/humanizer/config.rb', line 3 def key_val_delimeter @key_val_delimeter end |