Sha256: 6251f0426cd585462b7db4afb3c4b94a06c231d8ae155583aed5fde099d2cf82
Contents?: true
Size: 878 Bytes
Versions: 21
Compression:
Stored size: 878 Bytes
Contents
module Steep type method_name = InstanceMethodName | SingletonMethodName class InstanceMethodName attr_reader type_name: RBS::TypeName attr_reader method_name: Symbol def initialize: (type_name: RBS::TypeName, method_name: Symbol) -> void def relative: () -> InstanceMethodName end class SingletonMethodName attr_reader type_name: RBS::TypeName attr_reader method_name: Symbol def initialize: (type_name: RBS::TypeName, method_name: Symbol) -> void def relative: () -> SingletonMethodName end class ::Object # Returns method name corresponding to given `string`. # # * `ClassName#method_name` syntax returns an `InstanceMethodName` object # * `ClassName.method_name` syntax returns a `SingletonMethodName` object # def MethodName: (String string) -> (InstanceMethodName | SingletonMethodName) end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
steep-1.4.0.dev.4 | sig/steep/method_name.rbs |