Skip to content

Commit 28522a6

Browse files
committed
Merge pull request #5 from DrillingInfo/allow-bignums
Allow Bignums as values
2 parents ee16641 + 2c60129 commit 28522a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: recipes/default.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def compile_attr(prefix, v)
99
case v
1010
when Array
1111
return "#{prefix}=#{v.join(" ")}"
12-
when String, Fixnum, Float, Symbol
12+
when String, Fixnum, Bignum, Float, Symbol
1313
"#{prefix}=#{v}"
1414
when Hash, Chef::Node::Attribute
1515
prefix += "." unless prefix.empty?

0 commit comments

Comments
 (0)