How do I write an extension for Sinatra without packaging it as a gem?
Posted
by esilver
on Stack Overflow
See other posts from Stack Overflow
or by esilver
Published on 2010-04-30T15:09:32Z
Indexed on
2010/05/02
22:58 UTC
Read the original article
Hit count: 217
sinatra
I want to include the distance_of_time_in_words method in a sinatra app
I don't want to package and distribute a gem, which is what the Sintra docs direct you to do. I just want that method accessible in my view.
What's the easiest way to do this? Thanks.
© Stack Overflow or respective owner