From 5f73eb553fd083b558fb9553b0c07b6019d0ccee Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Thu, 26 Feb 2009 11:43:39 +1100 Subject: Fixed #1849 - Ruby 1.9 portability: `when' doesn't like colons, replace with semicolons --- lib/puppet/simple_graph.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/simple_graph.rb') diff --git a/lib/puppet/simple_graph.rb b/lib/puppet/simple_graph.rb index b9ea0f394..cfcf13131 100644 --- a/lib/puppet/simple_graph.rb +++ b/lib/puppet/simple_graph.rb @@ -64,7 +64,7 @@ class Puppet::SimpleGraph # The other vertex in the edge. def other_vertex(direction, edge) case direction - when :in: edge.source + when :in; edge.source else edge.target end -- cgit