Class: SynchronisedMigration::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



14
15
16
17
18
# File 'lib/synchronised_migration.rb', line 14

def initialize
  @host = ''
  @port = 0
  @db   = 0
end

Instance Attribute Details

#dbObject

Returns the value of attribute db.



12
13
14
# File 'lib/synchronised_migration.rb', line 12

def db
  @db
end

#hostObject

Returns the value of attribute host.



12
13
14
# File 'lib/synchronised_migration.rb', line 12

def host
  @host
end

#portObject

Returns the value of attribute port.



12
13
14
# File 'lib/synchronised_migration.rb', line 12

def port
  @port
end