Method: JsDuck::Format::Doc#class_context=
- Defined in:
- lib/jsduck/format/doc.rb
#class_context=(cls) ⇒ Object
Sets up instance to work in context of particular class, so that when #blah is encountered it knows that Context#blah is meant.
49 50 51 52 |
# File 'lib/jsduck/format/doc.rb', line 49 def class_context=(cls) @inline_link.class_context = cls @auto_link.class_context = cls end |