Commit 8c26dea7 authored by Holger Just's avatar Holger Just

Add catch-all compatibility check, defaults to false

parent ce5ffed6
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment