summaryrefslogtreecommitdiff
path: root/lib/chef/version_class.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/version_class.rb')
-rw-r--r--lib/chef/version_class.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/version_class.rb b/lib/chef/version_class.rb
index b27a9cc421..35a9f3282f 100644
--- a/lib/chef/version_class.rb
+++ b/lib/chef/version_class.rb
@@ -20,7 +20,7 @@ class Chef
include Comparable
attr_reader :major, :minor, :patch
- def initialize(str="")
+ def initialize(str = "")
parse(str)
end
@@ -53,7 +53,7 @@ class Chef
protected
- def parse(str="")
+ def parse(str = "")
@major, @minor, @patch =
case str.to_s
when /^(\d+)\.(\d+)\.(\d+)$/