Class: MatchData
Instance Method Summary collapse
Instance Method Details
#pretty_print(q) ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/pp-colour/matchdata.rb', line 2 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 |