lib/echelon.rb in echelon-1.0.2 vs lib/echelon.rb in echelon-1.0.3
- old
+ new
@@ -12,19 +12,25 @@
require "#{File.dirname(__FILE__)}/echelon/parks/seaworld/san_antonio.rb"
require "#{File.dirname(__FILE__)}/echelon/parks/seaworld/san_diego.rb"
require "#{File.dirname(__FILE__)}/echelon/parks/seaworld/orlando.rb"
# Disney World Resort
-require "#{File.dirname(__FILE__)}/echelon/parks/disney_world/magic_kingdom.rb"
-require "#{File.dirname(__FILE__)}/echelon/parks/disney_world/epcot.rb"
-require "#{File.dirname(__FILE__)}/echelon/parks/disney_world/hollywood_studios.rb"
-require "#{File.dirname(__FILE__)}/echelon/parks/disney_world/animal_kingdom.rb"
+require "#{File.dirname(__FILE__)}/echelon/parks/disney_world.rb"
+# require "#{File.dirname(__FILE__)}/echelon/parks/disney_world/magic_kingdom.rb"
+# require "#{File.dirname(__FILE__)}/echelon/parks/disney_world/epcot.rb"
+# require "#{File.dirname(__FILE__)}/echelon/parks/disney_world/hollywood_studios.rb"
+# require "#{File.dirname(__FILE__)}/echelon/parks/disney_world/animal_kingdom.rb"
# Disneyland Resort California
require "#{File.dirname(__FILE__)}/echelon/parks/disneyland/disneyland.rb"
require "#{File.dirname(__FILE__)}/echelon/parks/disneyland/california_adventure.rb"
# Disneyland Resort Paris
require "#{File.dirname(__FILE__)}/echelon/parks/disneyland_paris.rb"
module Echelon
+
+ def self.parameterize(params)
+ URI.escape(params.collect{|k,v| "#{k}=#{v}"}.join('&'))
+ end
+
end
\ No newline at end of file