Class: Humanizer::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/humanizer/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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_delimeterObject

Returns the value of attribute array_delimeter.



3
4
5
# File 'lib/humanizer/config.rb', line 3

def array_delimeter
  @array_delimeter
end

#hash_delimeterObject

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_delimeterObject

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