module Runfile::Inspectable

Public Instance Methods

inspect() click to toggle source
# File lib/runfile/concerns/inspectable.rb, line 3
def inspect
  return %[#<#{self.class}>] unless inspectable

  %[#<#{self.class} #{inspectable.map { |k, v| "#{k}=#{v.inspect}" }.join(', ')}>]
end
inspectable() click to toggle source
# File lib/runfile/concerns/inspectable.rb, line 9
def inspectable
  nil
end