solars / java-properties-for-ruby Goto Github PK
View Code? Open in Web Editor NEWThis project forked from peterseverin/java-properties-for-ruby
A simple ruby gem to read/write Java properties files.
License: MIT License
This project forked from peterseverin/java-properties-for-ruby
A simple ruby gem to read/write Java properties files.
License: MIT License
= Java Properties Files in Ruby I don't know if there's a real need for this, and if there is the jruby people probably have it covered a lot better than I do. These classes were mainly whipped up as an exercise in creating a ruby gem. = JavaProperties::Properties A class that can read and write to Java properties files that behaves otherwise as a standard ruby Enumerable. The keys to this object can be provided as Strings or Symbols, but internally they are Symbols. require 'rubygems' require 'java_properties' # Create a new object from a file props = JavaProperties::Properties.new("/path/to/file.properties") # Merge in another file props.load("/path/to/other/file.properties") # Behaves as an Enumerable props.each{ |key,value| puts "#{key} = #{value}" } = properties2yaml An executable script to convert an existing properties file to a YAML file. There is no script to go the other way because not all YAML files can be saved into a properties file. (That and I was feeling lazy.) Usage: properties2yaml [options] [INPUT] [OUTPUT] Options are: -s, --stdin Read input from standard input instead of an input file -h, --help Show this help message.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.