Sha256: 1148c8e925c19314769dee3778f207bd53d98377678ca8e84aa10293b8fcece6
Contents?: true
Size: 458 Bytes
Versions: 3
Compression:
Stored size: 458 Bytes
Contents
# frozen_string_literal: true require 'bellman/version' directories = [ File.join(File.dirname(__FILE__), 'bellman'), File.join(File.dirname(__FILE__), 'bellman', 'handlers') ] directories.each do |directory| Dir[File.join(directory, '*.rb')].each do |file| require file end end ActiveRecord::Base.instance_eval { include Bellman } if defined?(Rails) && Rails.version.to_i < 4 raise 'This version of bellman requires Rails 4 or higher' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bellman-0.1.2 | lib/bellman.rb |
bellman-0.1.1 | lib/bellman.rb |
bellman-0.1.0 | lib/bellman.rb |