Class: Range
Do not use. This class is for internal use only.
Instance Method Summary
Instance Method Details
#pretty_print(q)
[ GitHub ]# File 'lib/pp.rb', line 490
def pretty_print(q) # :nodoc: begin_nil = self.begin == nil end_nil = self.end == nil q.pp self.begin if !begin_nil || end_nil q.breakable '' q.text(self.exclude_end? ? '...' : '..') q.breakable '' q.pp self.end if !end_nil || begin_nil end