Permalink
Browse files

fix pretty printer for Ruby 1.8

Fixes #15
  • Loading branch information...
1 parent bdbbad6 commit 005fa724019a4866da0b67acd6534c8fd588a1ed Rich Lane committed Jan 17, 2012
Showing with 2 additions and 1 deletion.
  1. 0 bin/rbvmomish
  2. +2 −1 lib/rbvmomi/basic_types.rb
View
0 bin/rbvmomish 100644 → 100755
No changes.
@@ -145,7 +145,8 @@ def pretty_print q
q.text '('
q.breakable
props = @props.sort_by { |k,v| k.to_s }
- q.seplist props, nil, :each do |k, v|
+ q.seplist props, nil, :each do |e|
+ k, v = e
q.group do
q.text k.to_s
q.text ': '

0 comments on commit 005fa72

Please sign in to comment.