Class: PrettyArray

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

Constant Summary

Constants inherited from Array

Array::SingleLength

Instance Method Summary collapse

Methods inherited from Array

#align

Instance Method Details

#inspectObject



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

def inspect; to_puts.join($/) end

#to_putsObject



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

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