Sha256: 1538e20f013eb87e0c5b71a1080c9c15bc3c50f14e0ab3dccf9989b7ac887e6c
Contents?: true
Size: 790 Bytes
Versions: 14
Compression:
Stored size: 790 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 end class SingletonMethodName attr_reader type_name: RBS::TypeName attr_reader method_name: Symbol def initialize: (type_name: RBS::TypeName, method_name: Symbol) -> void 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
14 entries across 14 versions & 1 rubygems