ruby2html 1.3.0 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 948558903cc3a21baf43c8d7a8133d8cf630476d9030a10b38646ce5e92535f7
|
4
|
+
data.tar.gz: 769e3aad923a153b0aabf4392492bd44d0f231e784f5b5fffa9129329537b590
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77a22c5c896f3cfae2986a279a8946478ff39bd94e68faddb32ee897156d6cc9bbd6c4024fbce7463cd2f37b78905e6fd4e9c4410267589d743b33141f5de9ad
|
7
|
+
data.tar.gz: 7561cabe35deeae6ff40d0b2b692d9fc153b34145ea95920b2e1c9c63895f71d45b473506646bfe8f456905c34c9dbacf35e4547033b05a60d9d69fdfc285cef
|
@@ -12,9 +12,9 @@ module Ruby2html
|
|
12
12
|
Thread.current[:__ruby2html_renderer__] = previous_renderer
|
13
13
|
end
|
14
14
|
|
15
|
-
def method_missing(method, *args, &block)
|
15
|
+
def method_missing(method, *args, **options, &block)
|
16
16
|
if __ruby2html_renderer__.respond_to?(method)
|
17
|
-
__ruby2html_renderer__.send(method, *args, &block)
|
17
|
+
__ruby2html_renderer__.send(method, *args, **options, &block)
|
18
18
|
else
|
19
19
|
super
|
20
20
|
end
|
data/lib/gem/ruby2html/render.rb
CHANGED
@@ -99,9 +99,9 @@ module Ruby2html
|
|
99
99
|
end
|
100
100
|
|
101
101
|
private
|
102
|
-
def method_missing(method_name, *args, &block)
|
102
|
+
def method_missing(method_name, *args, **options, &block)
|
103
103
|
if @context.respond_to?(method_name)
|
104
|
-
@context.send(method_name, *args, &block)
|
104
|
+
@context.send(method_name, *args, **options, &block)
|
105
105
|
else
|
106
106
|
super
|
107
107
|
end
|