Class: DeployCouch::Delta
- Inherits:
-
Object
- Object
- DeployCouch::Delta
- Defined in:
- lib/deploy_couch/delta.rb
Instance Method Summary collapse
- #file_name ⇒ Object
- #id ⇒ Object
-
#initialize(id, file_name, type, map_function, rollback_function) ⇒ Delta
constructor
A new instance of Delta.
- #map_function ⇒ Object
- #rollback_function ⇒ Object
- #type ⇒ Object
Constructor Details
#initialize(id, file_name, type, map_function, rollback_function) ⇒ Delta
Returns a new instance of Delta.
4 5 6 7 8 9 10 |
# File 'lib/deploy_couch/delta.rb', line 4 def initialize(id,file_name,type,map_function,rollback_function) @id=id @file_name = file_name @type = type @map_function = map_function @rollback_function = rollback_function end |
Instance Method Details
#file_name ⇒ Object
17 18 19 |
# File 'lib/deploy_couch/delta.rb', line 17 def file_name @file_name end |
#id ⇒ Object
12 13 14 |
# File 'lib/deploy_couch/delta.rb', line 12 def id @id end |
#map_function ⇒ Object
25 26 27 |
# File 'lib/deploy_couch/delta.rb', line 25 def map_function @map_function end |
#rollback_function ⇒ Object
29 30 31 |
# File 'lib/deploy_couch/delta.rb', line 29 def rollback_function @rollback_function end |
#type ⇒ Object
21 22 23 |
# File 'lib/deploy_couch/delta.rb', line 21 def type @type end |