mirror of
https://github.com/github/rails.git
synced 2026-02-19 02:14:20 -05:00
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2924 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
8 lines
335 B
Ruby
8 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
|