/usr/lib/ruby/vendor_ruby/table_print/returnable.rb is in ruby-table-print 1.5.6-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 21 22 23 24 25 26 27 28 29 | module TablePrint
class Returnable
def initialize(string_value="")
@string_value = string_value
end
def set(klass, *config)
TablePrint::Config.set(klass, config)
"Set table_print config for #{klass}"
end
def clear(klass)
TablePrint::Config.clear(klass)
"Cleared table_print config for #{klass}"
end
def config_for(klass)
TablePrint::Config.for(klass)
end
def to_s
@string_value
end
def inspect
to_s
end
end
end
|