Class: Capp::Address

Inherits:
Struct
  • Object
show all
Defined in:
lib/capp.rb

Overview

An address for a Device which is returned by Capp::devices

Instance Attribute Summary collapse

Instance Attribute Details

#addressObject

Returns the value of attribute address

Returns:

  • (Object)

    the current value of address



65
66
67
# File 'lib/capp.rb', line 65

def address
  @address
end

#broadcastObject

Returns the value of attribute broadcast

Returns:

  • (Object)

    the current value of broadcast



65
66
67
# File 'lib/capp.rb', line 65

def broadcast
  @broadcast
end

#destinationObject

Returns the value of attribute destination

Returns:

  • (Object)

    the current value of destination



65
66
67
# File 'lib/capp.rb', line 65

def destination
  @destination
end

#netmaskObject

Returns the value of attribute netmask

Returns:

  • (Object)

    the current value of netmask



65
66
67
# File 'lib/capp.rb', line 65

def netmask
  @netmask
end