# File lib/ganapati/utils.rb, line 5 def initialize(url, default_scheme='yourmom', default_host='localhost', default_port=8118) @url = url if @url.start_with? 'file://' or (not @url.start_with? 'hdfs://' and default_scheme == :file) parse_file_scheme else parse_hdfs_scheme(default_host, default_port) end end
Generated with the Darkfish Rdoc Generator 2.