mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
e55426a798
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2924 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
7 lines
335 B
Ruby
7 lines
335 B
Ruby
# I have access to my directory and the Rails config.
|
|
raise 'directory expected but undefined in init.rb' unless defined? directory
|
|
raise 'config expected but undefined in init.rb' unless defined? config
|
|
|
|
# My lib/ dir must be in the load path.
|
|
require 'stubby_mixin'
|
|
raise 'missing mixin from my lib/ dir' unless defined? StubbyMixin
|