Module
Mixin methods for commands that work with gemspecs.
Instance Methods
lib/rubygems/gemspec_helpers.rb
View on GitHub
# File tmp/rubies/ruby-3.4.0-preview1/lib/rubygems/gemspec_helpers.rb, line 9
def find_gemspec(glob = "*.gemspec")
gemspecs = Dir.glob(glob).sort
if gemspecs.size > 1
alert_error "Multiple gemspecs found: #{gemspecs}, please specify one"
terminate_interaction(1)
end
gemspecs.first
end
No documentation available