Permalink
Browse files

Fix whitespace inside parentheses

  • Loading branch information...
nicklewis committed Jun 22, 2012
1 parent 2d01c2b commit 9e920a8ed27c5a5614f269834c790203125db649
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/puppet/file_bucket/file.rb
@@ -13,7 +13,7 @@ class Puppet::FileBucket::File
attr :contents
attr :bucket_path
- def initialize( contents, options = {} )
+ def initialize(contents, options = {})
raise ArgumentError.new("contents must be a String, got a #{contents.class}") unless contents.is_a?(String)
@contents = contents
@@ -41,15 +41,15 @@ def name
"#{checksum_type}/#{checksum_data}"
end
- def self.from_s( contents )
- self.new( contents )
+ def self.from_s(contents)
+ self.new(contents)
end
def to_pson
{ "contents" => contents }.to_pson
end
- def self.from_pson( pson )
- self.new( pson["contents"] )
+ def self.from_pson(pson)
+ self.new(pson["contents"])
end
end

0 comments on commit 9e920a8

Please sign in to comment.