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)


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

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

Instance Attribute Details

#indexInteger (readonly)

Returns the value of attribute index.

Returns:

  • (Integer)


99
100
101
# File 'sig/types.rbs', line 99

def index
  @index
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


101
102
103
# File 'sig/types.rbs', line 101

def text
  @text
end

#urlString (readonly)

Returns the value of attribute url.

Returns:

  • (String)


100
101
102
# File 'sig/types.rbs', line 100

def url
  @url
end