Class: MatchData
Instance Method Summary collapse
Instance Method Details
#pretty_print(q) ⇒ Object
443 444 445 446 447 448 449 450 |
# File 'lib/pp.rb', line 443 def pretty_print(q) q.object_group(self) { q.breakable q.seplist(1..self.size, lambda { q.breakable }) {|i| q.pp self[i-1] } } end |