aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/old_format.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 03:56:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-06 03:56:38 +0000
commit287a34ae0dfc23e4158f67cb7783d239f202c368 (patch)
tree5e35d5b41aae961b37cf6632f60c42f51c7aa775 /lib/rubygems/old_format.rb
parent9b52ae2e6491bb5d6c59e1799449f6268baf6f89 (diff)
downloadruby-287a34ae0dfc23e4158f67cb7783d239f202c368.tar.gz
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/old_format.rb')
-rw-r--r--lib/rubygems/old_format.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/rubygems/old_format.rb b/lib/rubygems/old_format.rb
index ef5d621f52..4b8db70bc6 100644
--- a/lib/rubygems/old_format.rb
+++ b/lib/rubygems/old_format.rb
@@ -16,7 +16,7 @@ module Gem
#
class OldFormat
attr_accessor :spec, :file_entries, :gem_path
-
+
##
# Constructs an instance of a Format object, representing the gem's
# data structure.
@@ -26,9 +26,9 @@ module Gem
def initialize(gem_path)
@gem_path = gem_path
end
-
+
##
- # Reads the named gem file and returns a Format object, representing
+ # Reads the named gem file and returns a Format object, representing
# the data from the gem file
#
# file_path:: [String] Path to the gem file
@@ -58,8 +58,8 @@ module Gem
end
format
end
-
- private
+
+ private
##
# Skips the Ruby self-install header. After calling this method, the
# IO index will be set after the Ruby code.
@@ -79,7 +79,7 @@ module Gem
raise Gem::Exception.new("Failed to find end of ruby script while reading gem")
end
end
-
+
##
# Reads the specification YAML from the supplied IO and constructs
# a Gem::Specification from it. After calling this method, the
@@ -100,7 +100,7 @@ module Gem
raise Gem::Exception.new("Failed to parse gem specification out of gem file")
end
end
-
+
##
# Reads lines from the supplied IO until a end-of-yaml (---) is
# reached