Class: Scopedog::Directives::RecordDirective

Inherits:
Base
  • Object
show all
Defined in:
lib/scopedog/directives/record_directive.rb

Instance Method Summary collapse

Methods inherited from Base

abstract_class?, directive_name, inherited

Instance Method Details

#callObject



4
5
6
# File 'lib/scopedog/directives/record_directive.rb', line 4

def call
  parser.tags << YARD::Tags::Tag.new(:record, '', nil, tag.name || parser.object.name)
end