summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-03-09 21:59:16 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2015-03-20 14:38:04 -0700
commit79655fae6724229704eb94781d55d658ad096815 (patch)
tree6f106b3054407e9b0e2dafa19b41fc55fdf02df7
parentef351de3c33cb1bf03667cd50bcc9ea680708584 (diff)
downloadchef-79655fae6724229704eb94781d55d658ad096815.tar.gz
Remove unused code
-rw-r--r--lib/chef/mixin/powershell_type_coercions.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/chef/mixin/powershell_type_coercions.rb b/lib/chef/mixin/powershell_type_coercions.rb
index e7e3dede63..4bc0a098cb 100644
--- a/lib/chef/mixin/powershell_type_coercions.rb
+++ b/lib/chef/mixin/powershell_type_coercions.rb
@@ -22,12 +22,12 @@ class Chef
module PowershellTypeCoercions
def type_coercions
@type_coercions ||= {
- Fixnum => { :type => lambda { |x| x.to_s }, :single_quoted => false },
- Float => { :type => lambda { |x| x.to_s }, :single_quoted => false },
- FalseClass => { :type => lambda { |x| '$false' }, :single_quoted => false },
- TrueClass => { :type => lambda { |x| '$true' }, :single_quoted => false },
- Hash => {:type => Proc.new { |x| translate_hash(x)}, :single_quoted => false},
- Array => {:type => Proc.new { |x| translate_array(x)}, :single_quoted => false}
+ Fixnum => { :type => lambda { |x| x.to_s }},
+ Float => { :type => lambda { |x| x.to_s }},
+ FalseClass => { :type => lambda { |x| '$false' }},
+ TrueClass => { :type => lambda { |x| '$true' }},
+ Hash => {:type => Proc.new { |x| translate_hash(x)}},
+ Array => {:type => Proc.new { |x| translate_array(x)}}
}
end