Class: YARD::Handlers::Ruby::ExtendHandler

Inherits:
MixinHandler show all
Defined in:
lib/yard/handlers/ruby/extend_handler.rb

Overview

Handles 'extend' call to include modules into the class scope of another

See Also:

Constant Summary

Constants included from CodeObjects

BUILTIN_ALL, BUILTIN_CLASSES, BUILTIN_EXCEPTIONS, BUILTIN_EXCEPTIONS_HASH, BUILTIN_MODULES, CONSTANTMATCH, CSEP, CSEPQ, ISEP, ISEPQ, METHODMATCH, METHODNAMEMATCH, NAMESPACEMATCH, NSEP, NSEPQ

Instance Attribute Summary

Attributes inherited from Base

extra_state, globals, namespace, owner, parser, scope, statement, visibility

Instance Method Summary (collapse)

Methods inherited from Base

#call_params, #caller_method, handles?, meta_type, method_call, #parse_block

Methods included from Parser::Ruby

#s

Methods inherited from Base

#call_params, #caller_method, clear_subclasses, #ensure_loaded!, #expand_macro, #find_or_create_macro, handlers, handles, handles?, in_file, #initialize, matches_file?, namespace_only, namespace_only?, #parse_block, #process, process, #push_state, #register, subclasses

Constructor Details

This class inherits a constructor from YARD::Handlers::Base

Instance Method Details

- (Object) scope



7
# File 'lib/yard/handlers/ruby/extend_handler.rb', line 7

def scope; :class end