Skip to content

Commit

Permalink
RunnerLibrary should handle Runner not being defined
Browse files Browse the repository at this point in the history
  • Loading branch information
cldwalker committed Mar 4, 2012
1 parent 7141db6 commit 5b1bcd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/boson/runner_library.rb
Expand Up @@ -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)
Expand Down

0 comments on commit 5b1bcd5

Please sign in to comment.