class Hitman::Target

Attributes

host[RW]
name[RW]
postfix[RW]
prefix[RW]
routes[RW]

Public Class Methods

new(name, host) click to toggle source
# File lib/hitman/target.rb, line 5
def initialize(name, host)
  @name = name
  @host = host
  @prefix = ''
  @postfix = ''
  @routes = []
end

Public Instance Methods

to_s() click to toggle source
# File lib/hitman/target.rb, line 13
def to_s
  "Analysis for #{name}\n" +
  "-------------" + "-" * name.length + "\n" +
  routes.join("\n")
end