Sha256: 2c5bcaf31c404b37bbb6e226fed58162c3c0326813ab95359a2e7308b46a8134
Contents?: true
Size: 252 Bytes
Versions: 5
Compression:
Stored size: 252 Bytes
Contents
require "poke_js/view_helpers" module PokeJs if defined?(Rails) && defined?(Rails::Engine) class Engine < ::Rails::Engine initializer "poke_js.view_helpers" do ActionView::Base.send :include, ViewHelpers end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
poke_js-0.1.6 | lib/poke_js.rb |
poke_js-0.1.5 | lib/poke_js.rb |
poke_js-0.1.4 | lib/poke_js.rb |
poke_js-0.1.3 | lib/poke_js.rb |
poke_js-0.1.2 | lib/poke_js.rb |