Sha256: 5f435c9fd12a8d8c929a9431e125017fd7967f18dbf40f7a096e135e25bfd222
Contents?: true
Size: 628 Bytes
Versions: 2
Compression:
Stored size: 628 Bytes
Contents
require 'net/http' require 'rubygems' require 'nokogiri' module YaCan $LOAD_PATH.unshift File.dirname(__FILE__) require 'yacan/yahoo_api' require 'yacan/dependency' require 'yacan/keyphrase' require 'yacan/morphem' @@proxy_host, @@proxy_port = (ENV["http_proxy"] || '').sub(/http:\/\//, '').split(':') def proxy_host @@proxy_host end def proxy_host=(host) @@proxy_host = host end def proxy_port @@proxy_port end def proxy_port=(port) @@proxy_port = port end include YaCan::YahooAPI module_function :appid, :appid=, :proxy_host, :proxy_host=, :proxy_port, :proxy_port= end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yacan-0.1.1 | lib/yacan.rb |
yacan-0.1.0 | lib/yacan.rb |