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)


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

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

Instance Attribute Details

#indexInteger?

Returns the value of attribute index.

Returns:

  • (Integer, nil)


427
428
429
# File 'sig/types.rbs', line 427

def index
  @index
end

#textString?

Returns the value of attribute text.

Returns:

  • (String, nil)


429
430
431
# File 'sig/types.rbs', line 429

def text
  @text
end

#urlString?

Returns the value of attribute url.

Returns:

  • (String, nil)


428
429
430
# File 'sig/types.rbs', line 428

def url
  @url
end