Flowdock
method

read_directive

Importance_1
v1_8_6_287 - Show latest stable - 0 notes - Class: RDoc::RubyParser
read_directive(allowed) private

Directives are modifier comments that can appear after class, module, or method names. For example

  def fred    # :yields:  a, b

or

  class SM  # :nodoc:

we return the directive name and any parameters as a two element array

Show source
Register or log in to add new notes.