Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 2698ea604c
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (9 sloc) 0.572 kB
require File.join(File.expand_path(File.dirname(__FILE__)), 'ancestry', 'class_methods')
require File.join(File.expand_path(File.dirname(__FILE__)), 'ancestry', 'instance_methods')
require File.join(File.expand_path(File.dirname(__FILE__)), 'ancestry', 'exceptions')
require File.join(File.expand_path(File.dirname(__FILE__)), 'ancestry', 'has_ancestry')
I18n.load_path += Dir[File.join(File.expand_path(File.dirname(__FILE__)),
'ancestry', 'locales', '*.{rb,yml}').to_s]
module Ancestry
ANCESTRY_PATTERN = /\A[0-9]+(\/[0-9]+)*\Z/
end
Jump to Line
Something went wrong with that request. Please try again.