Class: Dima::Config

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/dima/config.rb

Instance Method Summary collapse

Instance Method Details

#dateObject



13
14
15
# File 'lib/dima/config.rb', line 13

def date
  @date ||= Dima::DateConfig.new(formatter: '%d-%b-%Y')
end

#numObject



9
10
11
# File 'lib/dima/config.rb', line 9

def num
  @num ||= Dima::NumberConfig.new(delimiter: ',', separator: '.')
end