Class: Grouper::Rule

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

Instance Attribute Summary collapse

Instance Attribute Details

#directionObject

Returns the value of attribute direction

Returns:

  • (Object)

    the current value of direction



88
89
90
# File 'lib/grouper.rb', line 88

def direction
  @direction
end

#portsObject

Returns the value of attribute ports

Returns:

  • (Object)

    the current value of ports



88
89
90
# File 'lib/grouper.rb', line 88

def ports
  @ports
end

#protocolObject

Returns the value of attribute protocol

Returns:

  • (Object)

    the current value of protocol



88
89
90
# File 'lib/grouper.rb', line 88

def protocol
  @protocol
end

#sourcesObject

Returns the value of attribute sources

Returns:

  • (Object)

    the current value of sources



88
89
90
# File 'lib/grouper.rb', line 88

def sources
  @sources
end