Class: Ronin::Target

Inherits:
Object
  • Object
show all
Includes:
DataMapper::Timestamps, Model
Defined in:
lib/ronin/target.rb

Overview

Represents an Address targeted by a Campaign.

Instance Method Summary collapse

Methods included from Model

included

Instance Method Details

#to_sString

Converts the target to a String.

Returns:

  • (String)

    The address of the target.

Since:

  • 1.0.0


64
65
66
# File 'lib/ronin/target.rb', line 64

def to_s
  self.address.to_s
end