文件操作 - kernel.rbs
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/gems/3.2.0/gems/rbs-2.8.2/stdlib/minitest/0/kernel.rbs
编辑文件内容
%a{annotate:rdoc:skip} module Kernel : ::BasicObject # <!-- # rdoc-file=lib/minitest/spec.rb # - describe(desc, *additional_desc, &block) # --> # Describe a series of expectations for a given target `desc`. # # Defines a test class subclassing from either Minitest::Spec or from the # surrounding describe's class. The surrounding class may subclass # Minitest::Spec manually in order to easily share code: # # class MySpec < Minitest::Spec # # ... shared code ... # end # # class TestStuff < MySpec # it "does stuff" do # # shared code available here # end # describe "inner stuff" do # it "still does stuff" do # # ...and here # end # end # end # # For more information on getting started with writing specs, see: # # http://www.rubyinside.com/a-minitestspec-tutorial-elegant-spec-style-testing-t # hat-comes-with-ruby-5354.html # # For some suggestions on how to improve your specs, try: # # http://betterspecs.org # # but do note that several items there are debatable or specific to rspec. # # For more information about expectations, see Minitest::Expectations. # private def describe: (untyped desc, *untyped additional_desc) ?{ () -> untyped } -> untyped end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件