T
Tiago Nogueira
Hello everybody!
The first release of RProperties is on the RubyForge now on
http://rubyforge.org/projects/rproperties/ !
RProperties is a simple (very simple) implementation of the Java
Properties feature.
In this first release i just put the VERY basic functionality but i´m
working to do more things on it.
Just to exemplify a use of RProperties :
1. Imagine that you have a .properties file containing :
site_name = My Crazy Blog About Ruby
site_author = Barack Obama
author_email = (e-mail address removed)
2. Using RProperties :
require 'r_properties'
rp = RProperties.new("my_file.properties");
rp.load_p;
puts "The name of my site is #{rp.get_p("site_name")}"
That´s All! I know that i have too much work to do and i hope that
everybody help on it.
- tiago
The first release of RProperties is on the RubyForge now on
http://rubyforge.org/projects/rproperties/ !
RProperties is a simple (very simple) implementation of the Java
Properties feature.
In this first release i just put the VERY basic functionality but i´m
working to do more things on it.
Just to exemplify a use of RProperties :
1. Imagine that you have a .properties file containing :
site_name = My Crazy Blog About Ruby
site_author = Barack Obama
author_email = (e-mail address removed)
2. Using RProperties :
require 'r_properties'
rp = RProperties.new("my_file.properties");
rp.load_p;
puts "The name of my site is #{rp.get_p("site_name")}"
That´s All! I know that i have too much work to do and i hope that
everybody help on it.
- tiago