Class: Yardstick::Document::NullTag

Inherits:
Object
  • Object
show all
Defined in:
lib/yardstick/document.rb

Overview

Null object for YARD::Tags::Tag

Instance Method Summary collapse

Instance Method Details

#textnil

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Empty text

Returns:

  • (nil)


199
200
201
# File 'lib/yardstick/document.rb', line 199

def text
  nil
end

#typesArray

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Empty list of types

Returns:

  • (Array)

    an empty array



209
210
211
# File 'lib/yardstick/document.rb', line 209

def types
  []
end