module Protractor

Attributes

configuration[RW]

Public Class Methods

load(file_name) click to toggle source
# File lib/protractor/rails/configuration.rb, line 9
def self.load file_name
  file_name = file_name

  if File.exists? file_name
    file = File.read file_name
    yaml = ERB.new( file ).result
    data = YAML.load yaml
  end

  return Configuration.new data
end