Sha256: 784feee3a00248976fec8f87e7c6b76e81d9a247a47692cdc1eab36a725ce601

Contents?: true

Size: 310 Bytes

Versions: 9

Compression:

Stored size: 310 Bytes

Contents

# frozen_string_literal: true

require 'hierarchable/version'
require File.join(File.dirname(__FILE__), 'hierarchable', 'hierarchable')

ActiveRecord::Base.instance_eval { include Hierarchable }
if defined?(Rails) && Rails.version.to_i < 4
  raise 'This version of hierarchable requires Rails 4 or higher'
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hierarchable-0.4.0 lib/hierarchable.rb
hierarchable-0.3.4 lib/hierarchable.rb
hierarchable-0.3.3 lib/hierarchable.rb
hierarchable-0.3.2 lib/hierarchable.rb
hierarchable-0.3.1 lib/hierarchable.rb
hierarchable-0.3.0 lib/hierarchable.rb
hierarchable-0.2.1 lib/hierarchable.rb
hierarchable-0.2.0 lib/hierarchable.rb
hierarchable-0.1.0 lib/hierarchable.rb