Class: ShadyDB::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/shadydb/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



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

def initialize
  @data_directory = '/data/db'
  @format = :json
end

Instance Attribute Details

#data_directoryObject

Returns the value of attribute data_directory.



3
4
5
# File 'lib/shadydb/configuration.rb', line 3

def data_directory
  @data_directory
end

#formatObject

Returns the value of attribute format.



3
4
5
# File 'lib/shadydb/configuration.rb', line 3

def format
  @format
end