Skip to content

Commit

Permalink
Be more specific about the lookup of an Ollie::Base subclass.
Browse files Browse the repository at this point in the history
  • Loading branch information
parkr committed Jun 28, 2013
1 parent 30d2b0e commit 0ce8279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ollie/checker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def check_instances

def class_for_string(klass_string)
class_name = klass_string.to_s.camelize
Object.const_get("Ollie").const_get(class_name)
Ollie.const_get(class_name, false)
end
end
end
Expand Down

0 comments on commit 0ce8279

Please sign in to comment.