Add this line to your application's Gemfile:
gem 'redxml-client'
And then execute:
$ bundle
Or install it yourself as:
$ gem install redxml-client
require 'redxml/client'
# Connect as a block
RedXML::Client.connect(host: 'localhost', port: 33965) do |client|
result = client.execute '//test'
result.each do |tag|
puts tag
end
end
# Create client without block
client = RedXML::Client.connect(host: 'localhost', port: 33965)
puts client.execute '//test'
client.close- Fork it ( http://github.com//redxml-client/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
