Class: Aef::Hosts::EmptyElement
- Defined in:
- lib/hosts/aef/hosts/empty_element.rb
Overview
Represents an empty line as element of a hosts file
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ EmptyElement
constructor
Initializes an empty Element.
Methods inherited from Element
#cache_filled?, #inspect, #invalidate_cache!, #to_s
Constructor Details
#initialize(options = {}) ⇒ EmptyElement
Initializes an empty Element
32 33 34 35 36 |
# File 'lib/hosts/aef/hosts/empty_element.rb', line 32 def initialize( = {}) (, :cache) @cache = [:cache].to_s unless [:cache].nil? end |