Class: Crawlberg::FaviconInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFaviconInfo

Returns a new instance of FaviconInfo.

Parameters:

  • url: (String)
  • rel: (String)
  • sizes: (String)
  • mime_type: (String)


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

def initialize: (?url: String, ?rel: String, ?sizes: String, ?mime_type: String) -> void

Instance Attribute Details

#mime_typeString? (readonly)

Returns the value of attribute mime_type.

Returns:

  • (String, nil)


282
283
284
# File 'sig/types.rbs', line 282

def mime_type
  @mime_type
end

#relString (readonly)

Returns the value of attribute rel.

Returns:

  • (String)


280
281
282
# File 'sig/types.rbs', line 280

def rel
  @rel
end

#sizesString? (readonly)

Returns the value of attribute sizes.

Returns:

  • (String, nil)


281
282
283
# File 'sig/types.rbs', line 281

def sizes
  @sizes
end

#urlString (readonly)

Returns the value of attribute url.

Returns:

  • (String)


279
280
281
# File 'sig/types.rbs', line 279

def url
  @url
end