/usr/lib/ruby/vendor_ruby/naught/null_class_builder/commands/impersonate.rb is in ruby-naught 1.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | module Naught::NullClassBuilder::Commands
class Impersonate < Naught::NullClassBuilder::Commands::Mimic
def initialize(builder, class_to_impersonate, options = {})
super
builder.base_class = class_to_impersonate
end
end
end
|