文件操作 - newgem_spec.rb.tt
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/3.2.0/bundler/templates/newgem/spec/newgem_spec.rb.tt
编辑文件内容
# frozen_string_literal: true RSpec.describe <%= config[:constant_name] %> do it "has a version number" do expect(<%= config[:constant_name] %>::VERSION).not_to be nil end it "does something useful" do expect(false).to eq(true) end end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件