class Agave::Dump::Operation::Root

Attributes

operations[R]
path[R]

Public Class Methods

new(path) click to toggle source
# File lib/agave/dump/operation/root.rb, line 8
def initialize(path)
  @operations = []
  @path = path
end

Public Instance Methods

add(operation) click to toggle source
# File lib/agave/dump/operation/root.rb, line 13
def add(operation)
  @operations << operation
end
perform() click to toggle source
# File lib/agave/dump/operation/root.rb, line 17
def perform
  operations.each(&:perform)
end