Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
Use an implicit return for uri_for
Browse files Browse the repository at this point in the history
  • Loading branch information
bhuga committed May 20, 2010
1 parent 00caf59 commit fafd4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spira/resource/class_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def for(identifier, attributes = {})
# @return [RDF::URI]
# @raises [ArgumentError] If this class cannot create an identifier from the given string
def uri_for(identifier)
uri = case identifier
case identifier
when RDF::URI
identifier
when String
Expand Down

0 comments on commit fafd4ce

Please sign in to comment.