Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Using 1.9.2 compatible syntax. #1

Open
wants to merge 1 commit into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 27, 2011
  1. @russ

    Using 1.9.2 compatible syntax.

    russ authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/neo4jr/direction.rb
View
8 lib/neo4jr/direction.rb
@@ -6,10 +6,10 @@ module Direction
def self.from_string(value)
case value.upcase
- when 'BOTH': return BOTH
- when 'OUTGOING': return OUTGOING
- when 'INCOMING': return INCOMING
+ when 'BOTH' then return BOTH
+ when 'OUTGOING' then return OUTGOING
+ when 'INCOMING' then return INCOMING
end
end
end
-end
+end
Something went wrong with that request. Please try again.