Method: Pio::Mac#to_str

Defined in:
lib/pio/mac.rb

#to_strString

Implicitly converts obj to a string.

Examples:

mac = Mac.new("11:22:33:44:55:66")
puts "MAC = " + mac #=> "MAC = 11:22:33:44:55:66"

Returns:

  • (String)

See Also:


78
79
80
# File 'lib/pio/mac.rb', line 78

def to_str
  to_s
end