/usr/lib/ruby/vendor_ruby/naught/null_class_builder/command.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 9 10 11 12 13 14 15 16 17 18 19 20 | module Naught
class NullClassBuilder
class Command
attr_reader :builder
def initialize(builder)
@builder = builder
end
def call
fail NotImplementedError,
'Method #call should be overriden in child classes'
end
def defer(options = {}, &block)
@builder.defer(options, &block)
end
end
end
end
|