No commit activity in last 3 years
No release in over 3 years
This is a collection of common helper methods that I use within my Sinatra apps. They have a rails like feel and they mainly fill in for helpers you would find in Rails. They do not behave exactly like their rails counterparts so please be careful to read the RDOC.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

GeorgeDrummond::Sinatra::Helpers¶ ↑

This is a collection of common helper methods that I use within my Sinatra apps. They have a rails like feel and they mainly fill in for helpers you would find in Rails. They do not behave exactly like their rails counterparts so please be careful to read the RDOC.

Installation¶ ↑

First of all install the gem or add it to your Gemfile.

gem install georgedrummond_sinatra_helpers

In your Gemfile

gem "georgedrummond_sinatra_helpers"

Usage¶ ↑

Sample usage in a project

require "georgedrummond_sinatra_helpers"

class Application < Sinatra::Base
  include GeorgeDrummond::Sinatra::Helpers

  get "/" do
    haml :index
  end

end

Helper methods will be available in your views and methods within the Application class.

Documentation¶ ↑

For documentation please see GeorgeDrummond::Sinatra::Helpers

License¶ ↑

Released under the MIT License.