Skip to content

Commit

Permalink
fix pretty printer for Ruby 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich Lane committed Jan 17, 2012
1 parent bdbbad6 commit 005fa72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Empty file modified bin/rbvmomish
100644 → 100755
Empty file.
3 changes: 2 additions & 1 deletion lib/rbvmomi/basic_types.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 ': '
Expand Down

0 comments on commit 005fa72

Please sign in to comment.