Class: Range

Inherits:
Object show all
Defined in:
lib/pp.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#pretty_print(q) ⇒ Object

:nodoc:



386
387
388
389
390
391
392
# File 'lib/pp.rb', line 386

def pretty_print(q) # :nodoc:
  q.pp self.begin
  q.breakable ''
  q.text(self.exclude_end? ? '...' : '..')
  q.breakable ''
  q.pp self.end if self.end
end