lib/tapioca/runtime/reflection.rb in tapioca-0.16.1 vs lib/tapioca/runtime/reflection.rb in tapioca-0.16.2
- old
+ new
@@ -141,10 +141,10 @@
nil
end
sig { params(type: T::Types::Base).returns(String) }
def name_of_type(type)
- type.to_s.gsub(/\bAttachedClass\b/, "T.attached_class")
+ type.to_s
end
sig { params(constant: Module, method: Symbol).returns(Method) }
def method_of(constant, method)
METHOD_METHOD.bind_call(constant, method)