Method: Aef::Hosts::File#initialize

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

#initialize(path = nil) ⇒ File

Initializes a file.

Parameters:

  • path (Pathname) (defaults to: nil)

    path to the hosts file



79
80
81
82
# File 'lib/aef/hosts/file.rb', line 79

def initialize(path = nil)
  reset
  self.path = path
end