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)


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

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

Instance Attribute Details

#langString (readonly)

Returns the value of attribute lang.

Returns:

  • (String)


303
304
305
# File 'sig/types.rbs', line 303

def lang
  @lang
end

#urlString (readonly)

Returns the value of attribute url.

Returns:

  • (String)


304
305
306
# File 'sig/types.rbs', line 304

def url
  @url
end