Method: YARD::CodeObjects::Base#signature

Defined in:
lib/yard/code_objects/base.rb

#signatureString

The one line signature representing an object. For a method, this will be of the form “def meth(arguments…)”. This is usually the first source line.

Returns:

  • (String)

    a line of source

[View source]

159
160
161
# File 'lib/yard/code_objects/base.rb', line 159

def signature
  @signature
end