An open API service indexing awesome lists of open source software.

https://github.com/raviqqe/xml-dsl.rb

XML DSL and generator in Ruby
https://github.com/raviqqe/xml-dsl.rb

metaprogramming ruby

Last synced: 7 days ago
JSON representation

XML DSL and generator in Ruby

Awesome Lists containing this project

README

          

# xml-dsl

[![Gem Version](https://badge.fury.io/rb/xml-dsl.svg)](https://badge.fury.io/rb/xml-dsl)
[![Build Status](https://travis-ci.org/raviqqe/xml-dsl.rb.svg?branch=master)](https://travis-ci.org/raviqqe/xml-dsl.rb)
[![License](https://img.shields.io/badge/license-unlicense-lightgray.svg)](https://unlicense.org)

XML DSL in Ruby

## Installation

```
$ gem install xml-dsl
```

## Usage

Code:

```ruby
require 'xml-dsl'

file = xml do
html do
head do
end

body do
end
end
end

puts file
```

Output:

```xml