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
- Host: GitHub
- URL: https://github.com/raviqqe/xml-dsl.rb
- Owner: raviqqe
- License: unlicense
- Created: 2016-10-28T02:47:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-13T20:14:56.000Z (over 9 years ago)
- Last Synced: 2026-05-14T01:30:50.565Z (about 2 months ago)
- Topics: metaprogramming, ruby
- Language: Ruby
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xml-dsl
[](https://badge.fury.io/rb/xml-dsl)
[](https://travis-ci.org/raviqqe/xml-dsl.rb)
[](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