Class: Range
Instance Method Summary collapse
Instance Method Details
#pretty_print(q) ⇒ Object
382 383 384 385 386 387 388 |
# File 'lib/pp.rb', line 382 def pretty_print(q) q.pp self.begin q.breakable '' q.text(self.exclude_end? ? '...' : '..') q.breakable '' q.pp self.end end |