otoroshi 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/otoroshi/initializer.rb +0 -1
- 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: 631d80a9acb35b29a4f484aaf3ac8939f4aec80266ae85ec3ae1ba8025134789
|
4
|
+
data.tar.gz: 5fbb90ac33bfdd9ab712e5778479d3acca98486ec926761eddd5821c9fe251c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 886d405d6229444887764ac8b07142e08ca9f78ceeb8f73217ed3a52b3782a303e56f5ec920bf749d7f32057bbc2030a1f0f47df7f33904eba63681d82e01e2f
|
7
|
+
data.tar.gz: d01ba382078e0dac14e9a1e2965c85c659cc6bd14e99a986746c209ff4b8982bbe62e2d2194b15c57919555378aa31e6b42331af32e3208e48155c716b7183a3
|
data/lib/otoroshi/initializer.rb
CHANGED
@@ -80,7 +80,6 @@ module Otoroshi
|
|
80
80
|
# ""
|
81
81
|
def default_parameter_for(options)
|
82
82
|
default, allow_nil = options.values_at(:default, :allow_nil)
|
83
|
-
return " #{default.call}" if default.is_a? Proc
|
84
83
|
return ' nil' if default.nil? && allow_nil
|
85
84
|
return '' if default.nil? && !allow_nil
|
86
85
|
|