Class: Crawlberg::CitationReference

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCitationReference

Returns a new instance of CitationReference.

Parameters:

  • index: (Integer)
  • url: (String)
  • text: (String)


422
# File 'sig/types.rbs', line 422

def initialize: (?index: Integer, ?url: String, ?text: String) -> void

Instance Attribute Details

#indexInteger?

Returns the value of attribute index.

Returns:

  • (Integer, nil)


418
419
420
# File 'sig/types.rbs', line 418

def index
  @index
end

#textString?

Returns the value of attribute text.

Returns:

  • (String, nil)


420
421
422
# File 'sig/types.rbs', line 420

def text
  @text
end

#urlString?

Returns the value of attribute url.

Returns:

  • (String, nil)


419
420
421
# File 'sig/types.rbs', line 419

def url
  @url
end