Class: Crawlberg::HreflangEntry

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHreflangEntry

Returns a new instance of HreflangEntry.

Parameters:

  • lang: (String)
  • url: (String)


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

def initialize: (?lang: String, ?url: String) -> void

Instance Attribute Details

#langString?

Returns the value of attribute lang.

Returns:

  • (String, nil)


316
317
318
# File 'sig/types.rbs', line 316

def lang
  @lang
end

#urlString?

Returns the value of attribute url.

Returns:

  • (String, nil)


317
318
319
# File 'sig/types.rbs', line 317

def url
  @url
end