文件操作 - annotation.rbs
返回文件管理
返回主菜单
删除本文件
文件: /opt/puppetlabs/puppet/lib/ruby/gems/3.2.0/gems/rbs-2.8.2/sig/annotation.rbs
编辑文件内容
module RBS module AST # RBS allows writing annotations of declarations and members. # # ```rbs # %a{annotation_here} # class Hello # %a{rbs:test:skip} # def foo: () -> void # end # ``` class Annotation attr_reader string: String attr_reader location: Location[untyped, untyped]? def initialize: (string: String, location: Location[untyped, untyped]?) -> void def ==: (untyped other) -> bool alias eql? == def hash: () -> Integer include _ToJson end end end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件