class Crystal::Macros::RespondsTo

Overview

A .responds_to? call.

Defined in:

compiler/crystal/macros.cr

Instance Method Summary

Instance Method Detail

def name : StringLiteral #

Returns the method name that is being checked for.


[View source]
def receiver : ASTNode #

Returns this call's receiver.


[View source]