End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Specification#file_name
file_name
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/specification.rb, line 1868
def file_name
"#{full_name}.gem"
end
The default (generated) file name of the gem. See also spec_name.
Example
spec.file_name # => "example-1.0.gem"
See also
#extra_rdoc_files=
#files
#extra_rdoc_files
#files=
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1