0.0
No commit activity in last 3 years
No release in over 3 years
Read a properties file. Keys are methods.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

= 5.4.2
~> 0
 Project Readme

Properties

Gem Version Build Status

This Properties class provides a simple way to get values from a properties file.

Format of properties file

key1 = value1
key2=value2
# comment
; another comment

Using properties class

require 'pyer/properties'
prop = Properties 'path/file.properties'
print prop.key1       # => "value1"
print prop.key2       # => "value2"
print prop.unknown    # => nil

Installation

gem install pyer-properties

Build

Building pyer-properties gem is a rake task.

rake build