Method: YARD::CodeObjects::MacroObject#attached?

Defined in:
lib/yard/code_objects/macro_object.rb

#attached?Boolean

Returns whether this macro is attached to a method.

Returns:

  • (Boolean)

    whether this macro is attached to a method



196
# File 'lib/yard/code_objects/macro_object.rb', line 196

def attached?; method_object ? true : false end