Parameters:
Options for the generator
Options Hash (opts):
The host of the generated URI
8 9 10 11
# File 'lib/genny/uri.rb', line 8 def self.genny(opts = {}) opts = Genny.symbolize(opts) ::URI::HTTP.build(host: opts[:host] || 'example.com', path: "/#{Genny::String.genny}") end