ruhl 0.25.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/ruhl/engine.rb +7 -7
- data/ruhl.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.26.0
|
data/lib/ruhl/engine.rb
CHANGED
@@ -217,13 +217,13 @@ module Ruhl
|
|
217
217
|
_render_
|
218
218
|
else
|
219
219
|
args = code.strip.split('|').collect{|p| p.strip}
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
220
|
+
|
221
|
+
if block_object.respond_to?(args.first)
|
222
|
+
block_object.send(*args)
|
223
|
+
elsif local_object.respond_to?(args.first)
|
224
|
+
local_object.send(*args)
|
225
|
+
else
|
226
|
+
scope.send(*args)
|
227
227
|
end
|
228
228
|
end
|
229
229
|
rescue NoMethodError => nme
|
data/ruhl.gemspec
CHANGED