minimal 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,9 +36,9 @@ class Minimal::Template
36
36
  protected
37
37
 
38
38
  def method_missing(method, *args, &block)
39
- view.respond_to?(method) ? call_view(method, *args, &block) :
39
+ locals.key?(method) ? locals[method] :
40
40
  view.instance_variable_defined?("@#{method}") ? view.instance_variable_get("@#{method}") :
41
- locals.key?(method) ? locals[method] : super
41
+ view.respond_to?(method) ? call_view(method, *args, &block) : super
42
42
  end
43
43
 
44
44
  def call_view(method, *args, &block)
@@ -1,3 +1,3 @@
1
1
  module Minimal
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 7
9
- version: 0.0.7
8
+ - 8
9
+ version: 0.0.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sven Fuchs