123456789_123456789_123456789_123456789_123456789_

Class: Range

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: lib/pp.rb

Instance Method Summary

Instance Method Details

#pretty_print(q)

[ GitHub ]

  
# File 'lib/pp.rb', line 451

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