Sha256: 366784b1e05d8a53def71fd3990cc9f59cd6c0cd35f12b21a918fca9b9b1c457
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 Bytes
Contents
require 'awesome_nested_set' require 'globalize3' module Banyan ROOT = File.expand_path(File.dirname(__FILE__)) autoload :Categorizable, "#{ROOT}/banyan/categorizable" autoload :Categorization, "#{ROOT}/banyan/categorization" autoload :Category, "#{ROOT}/banyan/category" autoload :CategoryGroup, "#{ROOT}/banyan/category_group" require "#{ROOT}/banyan/railtie" if defined?(Rails) end ActiveRecord::Base.class_eval { include Banyan::Categorizable }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
banyan-1.1.1 | lib/banyan.rb |