lib/ballast/operations_chain.rb in ballast-1.5.3 vs lib/ballast/operations_chain.rb in ballast-1.6.0
- old
+ new
@@ -30,9 +30,16 @@
# @param operations [Array] The list of operations to perform.
# @param context [Context] The context for the chain.
def initialize(operations, context)
@context = context
@operations = operations.ensure_array
- setup
end
+
+ private
+ # Returns the operations to perform.
+ #
+ # @return [Array] An array of operations to perform.
+ def interactors
+ @operations
+ end
end
end
\ No newline at end of file