Class: SynchronisedMigration::Configuration
- Inherits:
-
Object
- Object
- SynchronisedMigration::Configuration
- Defined in:
- lib/synchronised_migration.rb
Instance Attribute Summary collapse
-
#db ⇒ Object
Returns the value of attribute db.
-
#host ⇒ Object
Returns the value of attribute host.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#db ⇒ Object
Returns the value of attribute db.
12 13 14 |
# File 'lib/synchronised_migration.rb', line 12 def db @db end |
#host ⇒ Object
Returns the value of attribute host.
12 13 14 |
# File 'lib/synchronised_migration.rb', line 12 def host @host end |
#port ⇒ Object
Returns the value of attribute port.
12 13 14 |
# File 'lib/synchronised_migration.rb', line 12 def port @port end |