文件操作 - newgem.c.tt
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/3.2.0/bundler/templates/newgem/ext/newgem/newgem.c.tt
编辑文件内容
#include "<%= config[:underscored_name] %>.h" VALUE rb_m<%= config[:constant_array].join %>; RUBY_FUNC_EXPORTED void Init_<%= config[:underscored_name] %>(void) { rb_m<%= config[:constant_array].join %> = rb_define_module(<%= config[:constant_name].inspect %>); }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件