Created
July 31, 2008 19:31
-
-
Save akatz/3508 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1241 def validate | |
1242 if self.scheme != nil && | |
1243 (self.host == nil || self.host == "") && | |
1244 (self.path == nil || self.path == "") | |
1245 raise InvalidURIError, | |
1246 "Absolute URI missing hierarchical segment." | |
1247 end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment