Module: Runfile::Inspectable

Included in:
Action, Entrypoint, Initiator, Userfile
Defined in:
lib/runfile/concerns/inspectable.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



3
4
5
6
7
# 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

#inspectableObject



9
10
11
# File 'lib/runfile/concerns/inspectable.rb', line 9

def inspectable
  nil
end