Module: Ronin::Network::Mixins::Mixin

Includes:
Parameters, UI::Output::Helpers
Included in:
ESMTP, Telnet
Defined in:
lib/ronin/network/mixins/mixin.rb

Overview

Since:

  • 0.4.0

Instance Method Summary collapse

Methods included from UI::Output::Helpers

format, #print_debug, #print_error, #print_exception, #print_info, #print_warning, #printf, #putc, #puts, #write

Instance Method Details

#host_portString (protected)

The host/port parameters.

Since:

  • 0.4.0


48
49
50
51
52
53
54
# File 'lib/ronin/network/mixins/mixin.rb', line 48

def host_port
  if self.port
    "#{self.host}:#{self.port}"
  else
    "#{self.host}"
  end
end