Method: Aef::Hosts::EmptyElement#initialize

Defined in:
lib/aef/hosts/empty_element.rb

#initialize(options = {}) ⇒ EmptyElement

Initializes an empty Element

Parameters:

  • options (Hash) (defaults to: {})

Options Hash (options):

  • :cache (String)

    sets a cached String representation



32
33
34
35
36
# File 'lib/aef/hosts/empty_element.rb', line 32

def initialize(options = {})
  validate_options(options, :cache)

  @cache = options[:cache].to_s unless options[:cache].nil?
end