Method: YARD::Templates::Section#dup

Defined in:
lib/yard/templates/section.rb

#dupObject

Since:

  • 0.6.0

[View source]

14
15
16
17
18
# File 'lib/yard/templates/section.rb', line 14

def dup
  obj = super
  obj.name = name
  obj
end