Class: Havox::ModifiedPolicy
- Inherits:
-
Object
- Object
- Havox::ModifiedPolicy
- Defined in:
- lib/havox/classes/modified_policy.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(topology_file_path, policy_file_path) ⇒ ModifiedPolicy
constructor
A new instance of ModifiedPolicy.
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
#path ⇒ Object (readonly)
Returns the value of attribute path.
3 4 5 |
# File 'lib/havox/classes/modified_policy.rb', line 3 def path @path end |