Class: Havox::ModifiedPolicy

Inherits:
Object
  • Object
show all
Defined in:
lib/havox/classes/modified_policy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topology_file_path, policy_file_path) ⇒ ModifiedPolicy

Returns a new instance of ModifiedPolicy.



5
6
7
8
9
10
11
# File 'lib/havox/classes/modified_policy.rb', line 5

def initialize(topology_file_path, policy_file_path)
  @topology_file_path = topology_file_path
  @original_policy_file_path = policy_file_path
  @hosts = parsed_hosts
  @path = nil
  append_basic_policies
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



3
4
5
# File 'lib/havox/classes/modified_policy.rb', line 3

def path
  @path
end