Class: Dato::Dump::Operation::CreateDataFile
- Inherits:
-
Object
- Object
- Dato::Dump::Operation::CreateDataFile
- Defined in:
- lib/dato/dump/operation/create_data_file.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
-
#format ⇒ Object
readonly
Returns the value of attribute format.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(context, path, format, value) ⇒ CreateDataFile
constructor
A new instance of CreateDataFile.
- #perform ⇒ Object
Constructor Details
#initialize(context, path, format, value) ⇒ CreateDataFile
Returns a new instance of CreateDataFile.
12 13 14 15 16 17 |
# File 'lib/dato/dump/operation/create_data_file.rb', line 12 def initialize(context, path, format, value) @context = context @path = path @format = format @value = value end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
10 11 12 |
# File 'lib/dato/dump/operation/create_data_file.rb', line 10 def context @context end |
#format ⇒ Object (readonly)
Returns the value of attribute format.
10 11 12 |
# File 'lib/dato/dump/operation/create_data_file.rb', line 10 def format @format end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
10 11 12 |
# File 'lib/dato/dump/operation/create_data_file.rb', line 10 def path @path end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
10 11 12 |
# File 'lib/dato/dump/operation/create_data_file.rb', line 10 def value @value end |