Class: Crawlberg::LinkInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLinkInfo

Returns a new instance of LinkInfo.

Parameters:

  • url: (String)
  • text: (String)
  • link_type: (LinkType)
  • rel: (String)
  • nofollow: (Boolean)


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

def initialize: (?url: String, ?text: String, ?link_type: LinkType, ?rel: String, ?nofollow: bool) -> void

Instance Attribute Details

Returns the value of attribute link_type.

Returns:



261
262
263
# File 'sig/types.rbs', line 261

def link_type
  @link_type
end

#nofollowBoolean?

Returns the value of attribute nofollow.

Returns:

  • (Boolean, nil)


263
264
265
# File 'sig/types.rbs', line 263

def nofollow
  @nofollow
end

#relString?

Returns the value of attribute rel.

Returns:

  • (String, nil)


262
263
264
# File 'sig/types.rbs', line 262

def rel
  @rel
end

#textString?

Returns the value of attribute text.

Returns:

  • (String, nil)


260
261
262
# File 'sig/types.rbs', line 260

def text
  @text
end

#urlString?

Returns the value of attribute url.

Returns:

  • (String, nil)


259
260
261
# File 'sig/types.rbs', line 259

def url
  @url
end