Class: DeployMongo::Delta
- Inherits:
-
Object
- Object
- DeployMongo::Delta
- Defined in:
- lib/deploy_mongo/delta.rb
Instance Method Summary collapse
- #command ⇒ Object
- #file_name ⇒ Object
- #id ⇒ Object
-
#initialize(id, file_name, command, rollback_command) ⇒ Delta
constructor
A new instance of Delta.
- #rollback_command ⇒ Object
Constructor Details
#initialize(id, file_name, command, rollback_command) ⇒ Delta
Returns a new instance of Delta.
4 5 6 7 8 9 |
# File 'lib/deploy_mongo/delta.rb', line 4 def initialize(id,file_name,command,rollback_command) @id=id @file_name = file_name @command = command @rollback_command = rollback_command end |
Instance Method Details
#command ⇒ Object
20 21 22 |
# File 'lib/deploy_mongo/delta.rb', line 20 def command @command end |
#file_name ⇒ Object
16 17 18 |
# File 'lib/deploy_mongo/delta.rb', line 16 def file_name @file_name end |
#id ⇒ Object
11 12 13 |
# File 'lib/deploy_mongo/delta.rb', line 11 def id @id end |
#rollback_command ⇒ Object
24 25 26 |
# File 'lib/deploy_mongo/delta.rb', line 24 def rollback_command @rollback_command end |