class Nmap::TcpSequence
Represents a TCP sequence number.
@since 0.5.0
Public Instance Methods
difficulty()
click to toggle source
@return [String]
The difficulty description from nmap
@since 0.5.0
# File lib/nmap/tcp_sequence.rb, line 29 def difficulty @difficulty ||= @node['difficulty'] end
index()
click to toggle source
@return [Numeric]
The difficulty index from nmap
@since 0.5.0
# File lib/nmap/tcp_sequence.rb, line 17 def index @index ||= if (index_string = @node['index']) index_string.to_i end end
to_s()
click to toggle source
Converts the TcpSequence
class to a String.
@return [String]
The String form of the object.
@since 0.5.0
# File lib/nmap/tcp_sequence.rb, line 41 def to_s "index=#{index} difficulty=#{difficulty.inspect} values=#{values.inspect}" end