Class: Dnslook::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/dnslook/cli.rb

Instance Method Summary collapse

Instance Method Details

#lookup(type, domain) ⇒ Object



9
10
11
12
# File 'lib/dnslook/cli.rb', line 9

def lookup(type, domain)
  # Implement your DNS lookup functionality here
  puts "Looking up #{type} record for #{domain}"
end