minimal 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/minimal/template.rb +2 -2
- data/lib/minimal/version.rb +1 -1
- metadata +2 -2
data/lib/minimal/template.rb
CHANGED
@@ -36,9 +36,9 @@ class Minimal::Template
|
|
36
36
|
protected
|
37
37
|
|
38
38
|
def method_missing(method, *args, &block)
|
39
|
-
|
39
|
+
locals.key?(method) ? locals[method] :
|
40
40
|
view.instance_variable_defined?("@#{method}") ? view.instance_variable_get("@#{method}") :
|
41
|
-
|
41
|
+
view.respond_to?(method) ? call_view(method, *args, &block) : super
|
42
42
|
end
|
43
43
|
|
44
44
|
def call_view(method, *args, &block)
|
data/lib/minimal/version.rb
CHANGED