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