Class: Range
Instance Method Summary collapse
Instance Method Details
#pretty_print(q) ⇒ Object
390 391 392 393 394 395 396 |
# File 'lib/pp.rb', line 390 def pretty_print(q) q.pp self.begin q.breakable '' q.text(self.exclude_end? ? '...' : '..') q.breakable '' q.pp self.end end |