chrisb / tvml

Ruby library for working with Apple's TVML
https://github.com/chrisb/tvml
MIT License
9 stars 3 forks source link

Can't Render a Catalog #1

Open danhixon opened 8 years ago

danhixon commented 8 years ago

If it is supposed to work then I can't figure it out how to respond with a catalog.

I tried:

@document.template = TVML::Template::Catalog.new.tap do |catalog|
  catalog.banner.title = "Hello World"
end

And I receive this error: NoMethodError - undefined method `banner' for #TVML::Template::Catalog:0x007fdf5d4932b8

chrisb commented 8 years ago

Hey @danhixon thanks for opening this -- the gem is still in it's infancy and I haven't had a lot of time to actively develop it.

Will definitely take a look at this.