messed around with this some more
This commit is contained in:
parent
4f7c291f44
commit
766dca6012
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
require 'wikipedia'
|
require 'wikipedia'
|
||||||
|
|
||||||
args = ARGV
|
search_words = ARGV[0]
|
||||||
|
|
||||||
page = Wikipedia.find(args[0])
|
page = Wikipedia.find(search_words)
|
||||||
|
|
||||||
puts page.title+"\n"
|
puts page.title+"\n"
|
||||||
puts page.text+"\n"
|
puts page.text+"\n"
|
Loading…
Add table
Reference in a new issue