文件操作 - pseudo_status.rb
返回文件管理
返回主菜单
删除本文件
文件: /opt/alt/ruby21/lib64/ruby/2.1.0/rake/pseudo_status.rb
编辑文件内容
module Rake #################################################################### # Exit status class for times the system just gives us a nil. class PseudoStatus attr_reader :exitstatus def initialize(code=0) @exitstatus = code end def to_i @exitstatus << 8 end def >>(n) to_i >> n end def stopped? false end def exited? true end end end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件