class Blobsterix::Transformations::Transformation

Public Instance Methods

input_type() click to toggle source
# File lib/blobsterix/transformation/transformation.rb, line 17
def input_type
  Blobsterix::AcceptType.new
end
is_format?() click to toggle source
# File lib/blobsterix/transformation/transformation.rb, line 13
def is_format?
  false
end
name() click to toggle source
# File lib/blobsterix/transformation/transformation.rb, line 5
def name
  ""
end
output_type() click to toggle source
# File lib/blobsterix/transformation/transformation.rb, line 21
def output_type
  Blobsterix::AcceptType.new
end
to_s() click to toggle source
# File lib/blobsterix/transformation/transformation.rb, line 9
def to_s
  name
end
transform(input_path, target_path, value) click to toggle source
# File lib/blobsterix/transformation/transformation.rb, line 25
def transform(input_path, target_path, value)
  logger.debug "run transformation!!!!!"
  system("cp #{input_path} #{target_path}")
end