Module: DNS::ResolveHost::Controls::Hostname

Defined in:
lib/dns/resolve_host/controls/hostname.rb

Class Method Summary collapse

Class Method Details

.example(prefix = nil) ⇒ Object



5
6
7
8
9
# File 'lib/dns/resolve_host/controls/hostname.rb', line 5

def self.example(prefix=nil)
  prefix ||= "some-hostname"

  "#{prefix}.example"
end