I’m using the runt library  to do some temporal expression
matching. I want to keep the expression in a binary field in my db.
I figured that then in order to do the fixtures, I’d need to do some
erb in the yaml file. So I came up with this:
name: One Time
description: This event occurs only one time.
timex: <%= REYear.new(7) & REMonth.new(24) & REDay.new(3, 0, 17, 0) %>
If I try to load in the fixture, I get the following error:
Fixture::FormatError: a YAML error occured parsing
Please note that YAML must be consistently indented using spaces. Tabs
are not allowed. Please have a look at http://www.yaml.org/faq.html
The exact error was:
NameError: uninitialized constant REYear
I’ve put require ‘runt’ in environtment.rb, the unit test file, and
even in my yaml file doing <% require ‘runt’ %>. Not really sure how
I’m supposed to access this lib from the yaml file. I’d really
appreciate any input.