lib/wikipedia.rb in wikipedia-client-1.4.0 vs lib/wikipedia.rb in wikipedia-client-1.5.0
- old
+ new
@@ -14,11 +14,16 @@
# client.find('Rails')
#
def self.find( page, options = {} )
client.find( page, options )
end
+
def self.find_image( title, options = {} )
client.find_image( title, options )
+ end
+
+ def self.find_random( options = {} )
+ client.find_random( options )
end
def self.Configure(&block)
Configuration.instance.instance_eval(&block)
end