diff options
Diffstat (limited to 'lib/rubygems/specification.rb')
-rw-r--r-- | lib/rubygems/specification.rb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index 437fa56f97..faed9c0082 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -1431,7 +1431,7 @@ class Gem::Specification < Gem::BasicSpecification @activated = true @loaded = true - return true + true end ## @@ -1521,7 +1521,7 @@ class Gem::Specification < Gem::BasicSpecification executables end rescue StandardError - return nil + nil end ## @@ -2382,8 +2382,8 @@ class Gem::Specification < Gem::BasicSpecification # Checks if this specification meets the requirement of +dependency+. def satisfies_requirement?(dependency) - return @name == dependency.name && - dependency.requirement.satisfied_by?(@version) + @name == dependency.name && + dependency.requirement.satisfied_by?(@version) end ## @@ -2669,8 +2669,6 @@ class Gem::Specification < Gem::BasicSpecification self.required_rubygems_version = "> 1.3.1" end invalidate_memoized_attributes - - return end def stubbed? |