Class: Range

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

Instance Method Summary collapse

Instance Method Details

#pretty_print(q) ⇒ Object



351
352
353
354
355
356
357
# File 'lib/pp.rb', line 351

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