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)


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

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



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

def types
  []
end