Add catch-all compatibility check, defaults to false

This commit is contained in:
Holger Just 2011-11-26 22:21:48 +01:00
parent ce5ffed6a3
commit 8c26dea72d
1 changed files with 5 additions and 0 deletions

View File

@ -30,5 +30,10 @@ module ChiliProject
def self.using_jquery?
false
end
# Catch-all to be overwritten be future compatibility checks.
def self.method_missing(method, *args)
method.to_s.ends_with?('?') ? false : super
end
end
end