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)


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

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

Instance Attribute Details

#langString?

Returns the value of attribute lang.

Returns:

  • (String, nil)


325
326
327
# File 'sig/types.rbs', line 325

def lang
  @lang
end

#urlString?

Returns the value of attribute url.

Returns:

  • (String, nil)


326
327
328
# File 'sig/types.rbs', line 326

def url
  @url
end