Everyone is welcome to improve this documentation by editing ruby.eno and submitting a Pull Request!

Installation

Bundler

Add enorb to your Gemfile:

gem 'enorb'

Then let bundler install it for you:

bundle

Manually

Alternatively you can also install it manually:

gem install enorb

Getting started

Create an eno document, for instance intro.eno:

Greeting: Hello World!

A minimal example to read this file with enorb:

require 'enorb'

input = File.read('intro.eno')

document = Eno.parse(input)

puts document.field('Greeting')  #=> 'Hello World!'

Links

Gem on rubygems - https://rubygems.org/gems/enorb/
Repository on github - https://github.com/eno-lang/enorb/