class Crystal::Macros::RespondsTo

Overview

A .responds_to? call.

Defined in:

compiler/crystal/macros.cr

Instance Method Summary

Instance Method Detail

def name : StringLiteralSource

Returns the method name that is being checked for.

def receiver : ASTNodeSource

Returns this call's receiver.

© 2012–2021 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.2.1/Crystal/Macros/RespondsTo.html