Class: YARDJS::Tags::CallbackTag

Inherits:
OverloadTag
  • Object
show all
Defined in:
lib/yard-js/tags.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag_name, text) ⇒ CallbackTag


10
11
12
13
14
# File 'lib/yard-js/tags.rb', line 10

def initialize(tag_name, text)
  name, text = *text.split(" ", 2)
  self.param_name = name
  super(tag_name, text)
end

Instance Attribute Details

#param_nameObject

Returns the value of attribute param_name


8
9
10
# File 'lib/yard-js/tags.rb', line 8

def param_name
  @param_name
end