Developing for Eno with Ruby

Installation

Bundler

Add enolib to your Gemfile:

gem 'enolib'

Then let bundler install it for you:

bundle

Manually

Alternatively you can also install it manually:

gem install enolib

Getting started

A minimal example to read an eno document directly from a string with enolib:

require 'enolib'

document = Enolib.parse('Greeting: Hello World!')
document.field('Greeting').required_string_value
#=> 'Hello World!'

Links

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