Permalink
Browse files

RunnerLibrary should handle Runner not being defined

  • Loading branch information...
1 parent 7141db6 commit 5b1bcd5ed4c10b9e84709e5fb89fb779a128e023 @cldwalker committed Mar 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/boson/runner_library.rb
@@ -2,7 +2,7 @@ module Boson
# Library created by Runner
class RunnerLibrary < Library
handles {|source|
- source.is_a?(Module) && source.ancestors.include?(Runner)
+ source.is_a?(Module) && defined?(Runner) && source.ancestors.include?(Runner)
}
def self.delegate_runner_methods(runner, mod)

0 comments on commit 5b1bcd5

Please sign in to comment.