Class: PrettyArray

Inherits:
Array show all
Defined in:
lib/pretty_debug.rb

Overview

Inspection

Constant Summary

Constants inherited from Array

Array::SingleLength

Instance Method Summary collapse

Methods inherited from Array

#align, #common_affix, #common_prefix

Instance Method Details

#inspectObject



188
# File 'lib/pretty_debug.rb', line 188

def inspect; to_puts.join($/) end

#to_putsObject



187
# File 'lib/pretty_debug.rb', line 187

def to_puts; align.map(&PrettyDebug.instance_variable_get(:@format)) end