html-native 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/html-native/builder.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10608cfe99deda77bf919d12ed385dff6364260d596fbb672968c6ed708ca320
|
4
|
+
data.tar.gz: 511d614f09a21a27506d25289a0f31f36d92864d1235eb2cc26f4c5008ac0aa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 476f3e92ab73de39f6d05bf96fca229237e44de9e140f25f012e3556a04f61500dc85b8a5c216a1c799bf7db1b8cc14514f8ab65e48563813b6d98792b0964e2
|
7
|
+
data.tar.gz: 804e56ce1f00a988bc5a590d13351ccd11175d1a7c7be64d7076a4c653ed8a868fb3bd0955da6251f32af161dfeabc3466930b2f8a4bdddc352ea88f1f3b60f6
|
data/lib/html-native/builder.rb
CHANGED
@@ -57,7 +57,7 @@ module HTMLComponent
|
|
57
57
|
@cache
|
58
58
|
end
|
59
59
|
|
60
|
-
|
60
|
+
alias_method :to_str, :to_s
|
61
61
|
|
62
62
|
# If the method does not exist on Builder, it is sent to String, by way
|
63
63
|
# of the rendered Builder result. Modify-in-place methods will affect the
|
@@ -67,8 +67,8 @@ module HTMLComponent
|
|
67
67
|
end
|
68
68
|
|
69
69
|
# If String responds to the method, then Builder also responds to it.
|
70
|
-
def respond_to_missing?(method)
|
71
|
-
"".respond_to?(method)
|
70
|
+
def respond_to_missing?(method, include_all)
|
71
|
+
"".respond_to?(method, include_all)
|
72
72
|
end
|
73
73
|
end
|
74
74
|
end
|