Ruby library for parsing, loading and inspecting eno documents
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
performance
spec
.gitignore
.rspec
CHANGELOG.md
Gemfile
Gemfile.lock
LICENSE
README.md
enorb.gemspec

README.md

enorb

Ruby implementation of the eno library specification

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!'

Complete documentation and API reference

See eno-lang.org/ruby