Parent

Methods

Files

Class/Module Index [+]

Quicksearch

URI::Generic

Public Instance Methods

hostname() click to toggle source

Copied from the MRI source for Ruby 1.9.3 File lib/uri/generic.rb, line 659

# File lib/chef/monkey_patches/uri.rb, line 65
def hostname
  v = self.host
  /\A\[(.*)\]\z/ =~ v ? $1 : v
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.