Class: YARD::Handlers::Ruby::HandlesExtension
- Inherits:
-
Object
- Object
- YARD::Handlers::Ruby::HandlesExtension
- Defined in:
- lib/yard/handlers/ruby/base.rb
Instance Attribute Summary
- - (Object) name readonly Returns the value of attribute name.
Instance Method Summary
- - (HandlesExtension) initialize(name) constructor A new instance of HandlesExtension.
- - (Boolean) matches?(node)
Constructor Details
- (HandlesExtension) initialize(name)
A new instance of HandlesExtension
5 |
# File 'lib/yard/handlers/ruby/base.rb', line 5 def initialize(name) @name = name end |
Instance Attribute Details
- (Object) name (readonly)
Returns the value of attribute name
8 9 10 |
# File 'lib/yard/handlers/ruby/base.rb', line 8 def name @name end |
Instance Method Details
- (Boolean) matches?(node)
6 |
# File 'lib/yard/handlers/ruby/base.rb', line 6 def matches?(node) raise NotImplementedError end |