cutaneous 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/cutaneous.gemspec +1 -1
- data/lib/cutaneous/context.rb +6 -1
- data/lib/cutaneous.rb +1 -1
- metadata +1 -1
data/cutaneous.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'cutaneous'
|
16
|
-
s.version = '0.1.
|
16
|
+
s.version = '0.1.1'
|
17
17
|
s.date = '2012-07-23'
|
18
18
|
s.rubyforge_project = 'cutaneous'
|
19
19
|
|
data/lib/cutaneous/context.rb
CHANGED
@@ -23,7 +23,12 @@ module Cutaneous
|
|
23
23
|
self.__buf << __loader.template(template_name).render(context)
|
24
24
|
end
|
25
25
|
|
26
|
-
def
|
26
|
+
def respond_to_missing?(name, include_private = false)
|
27
|
+
return true if @__locals.key?(name.to_s) || @__locals.key?(name.to_sym)
|
28
|
+
super
|
29
|
+
end
|
30
|
+
|
31
|
+
def respond_to?(name, include_private = false)
|
27
32
|
return true if @__locals.key?(name.to_s) || @__locals.key?(name.to_sym)
|
28
33
|
super
|
29
34
|
end
|
data/lib/cutaneous.rb
CHANGED