Sha256: 94e1261269acd9ede1575cc6e14dd3b3c2850c03eed36a4ee0e4d1525a6aafc3
Contents?: true
Size: 511 Bytes
Versions: 7
Compression:
Stored size: 511 Bytes
Contents
require 'active_support' require 'active_support/core_ext' # Bootstrap Helpers module Bh mattr_accessor :framework end # Always require every generic helper helpers_folder = File.expand_path '../bh/helpers/*_helper.rb', __FILE__ Dir[helpers_folder].each{|file| require file} # Conditionally require platform-specific helpers extension = :railtie if defined?(Rails) extension ||= :middleman if defined?(Middleman) extension ||= :padrino if defined?(Padrino) require "bh/core_ext/#{extension}" if extension
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
bh-1.3.6 | lib/bh.rb |
bh-1.3.5 | lib/bh.rb |
bh-1.3.4 | lib/bh.rb |
bh-1.3.3 | lib/bh.rb |
bh-1.3.1 | lib/bh.rb |
bh-1.3.0 | lib/bh.rb |
bh-1.2.0 | lib/bh.rb |