module Superhosting::Patches::PathMapper::NullNode

Public Instance Methods

_append_line!(content) click to toggle source
Calls superclass method
# File lib/superhosting/patches/path_mapper/null_node.rb, line 25
def _append_line!(content)
  self.debug_operation(desc: { code: :file, data: { path: @path } }) do |&blk|
    super.tap {|res| blk.call(code: res[:code], diff: res[:d][:diff]) }
  end
end
_create!() click to toggle source
Calls superclass method
# File lib/superhosting/patches/path_mapper/null_node.rb, line 7
def _create!
  self.debug_operation(desc: { code: :directory, data: { path: @path } }) do |&blk|
    super.tap {|res| blk.call(code: res[:code], diff: res[:d][:diff]) }
  end
end
_put!(content) click to toggle source
Calls superclass method
# File lib/superhosting/patches/path_mapper/null_node.rb, line 19
def _put!(content)
  self.debug_operation(desc: { code: :file, data: { path: @path } }) do |&blk|
    super.tap {|res| blk.call(code: res[:code], diff: res[:d][:diff]) }
  end
end
_safe_put!(content) click to toggle source
Calls superclass method
# File lib/superhosting/patches/path_mapper/null_node.rb, line 13
def _safe_put!(content)
  self.debug_operation(desc: { code: :file, data: { path: @path } }) do |&blk|
    super.tap {|res| blk.call(code: res[:code], diff: res[:d][:diff]) }
  end
end