1. Michael Granger
  2. Ruby-WordNet

Commits

Michael Granger  committed 7dd9453

Make the second argument to Lexicon#initialize_with_uri optional

  • Participants
  • Parent commits cf226ff
  • Branches default

Comments (0)

Files changed (1)

File lib/wordnet/lexicon.rb

View file
  • Ignore whitespace
 
 
 	### Connect to the WordNet DB using a URI and an optional options hash.
-	def initialize_with_uri( uri, options )
+	def initialize_with_uri( uri, options={} )
 		@db = self.connect( uri, options )
 	end