Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
"showoff static" fails with error #117
This is due to line 46 in
A quick fixed that works for me is adding "options" as an OpenStruct:
but this seems like a nasty hack. Any ideas how to handle this in a proper way?
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I'm having a hard time seeing how this ever worked; when I remove the verbose stuff, it just bombs on the next thing.
It seems like a big flaw in the design; the static stuff creates an instance of ShowOff just to get at the options hash, which is managed by Sinatra somehow. Your fix is probably the thing least likely to break something, but since there's no tests, I'd be afraid to do something more drastic.