Class | AlienConfig
In: | alienconfig.rb
Parent: | Hash

# Alien Ruby RFID Library

## alienconfig.rb

      A class to load/save application configuration data in a simple text file.
      Minimal error handling.
      Configuration parameters are maintained as a hash.
      Copyright 2014, Alien Technology Corporation. All rights reserved.

### Methods

load new save

### Public Class methods

new(fn, symbolsForKeys=false)

### Public Instance methods

load(fn)

          private

Open a file and read out the configuration parameters. Save into a hash structure. Blank lines and comment lines, beginning with ’#’ are ignored.

save(fn)

Save the hash data to a file.

[Validate]