Class: YARD::Handlers::Ruby::ExtendHandler
- Inherits:
-
MixinHandler
- Object
- YARD::Handlers::Base
- Base
- MixinHandler
- YARD::Handlers::Ruby::ExtendHandler
- Defined in:
- lib/yard/handlers/ruby/extend_handler.rb
Overview
`extend` works just like `include` except that it always mixes the module in in class scope, and that it can handle `extend self`.
Constant Summary
Constants included from YARD::CodeObjects
BUILTIN_ALL, BUILTIN_CLASSES, BUILTIN_EXCEPTIONS, BUILTIN_EXCEPTIONS_HASH, BUILTIN_MODULES, CONSTANTMATCH, CSEP, CSEPQ, ISEP, ISEPQ, METHODMATCH, METHODNAMEMATCH, NAMESPACEMATCH, NSEP, NSEPQ
Instance Method Summary
Methods inherited from MixinHandler
Methods inherited from Base
handles?, meta_type, method_call, #parse_block
Methods included from YARD::Parser::Ruby
Methods inherited from YARD::Handlers::Base
clear_subclasses, #ensure_loaded!, handlers, handles, handles?, #initialize, namespace_only, namespace_only?, #parse_block, #process, #push_state, #register, subclasses
Constructor Details
This class inherits a constructor from YARD::Handlers::Base
Instance Method Details
- (Object) scope
8 |
# File 'lib/yard/handlers/ruby/extend_handler.rb', line 8 def scope; :class end |