Module: Plate::Inspector

Included in:
AttributableNode, RichNode
Defined in:
lib/plate/nodes.rb

Instance Method Summary collapse

Instance Method Details

#inspect_with(values) ⇒ Object



26
27
28
29
# File 'lib/plate/nodes.rb', line 26

def inspect_with(values)
  i = public_method(:inspect).super_method.call
  i.gsub(/>\z/, ", #{values.join(', ')}>")
end