Sha256: b04c1925c970b206bc87e496720c5bb0d4053f4c8b97a12b2ff63ca87c3a5906
Contents?: true
Size: 711 Bytes
Versions: 7
Compression:
Stored size: 711 Bytes
Contents
module Bh module Extensions # Makes Bootstrap helpers available in Padrino applications. # # To use Bh in a Padrino app you need 2 steps: # # - include bh in the Gemfile # - add `register Bh` in the `app.rb` file # # The following method adds `Bh` as one of the modules that can be registered # in a Padrino app, but you still need to register it manually in order to # make helpers available. module Padrino # Register Bh as a Padrino app. def registered(app) app.include Bh::Helpers end end Bh.framework = :padrino end # Allows to register Bh in a Padrino app simply with `register Bh`. extend Extensions::Padrino end
Version data entries
7 entries across 7 versions & 1 rubygems