Class: Crawlberg::LinkInfo
- Inherits:
-
Object
- Object
- Crawlberg::LinkInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#link_type ⇒ LinkType
readonly
Returns the value of attribute link_type.
-
#nofollow ⇒ Boolean
readonly
Returns the value of attribute nofollow.
-
#rel ⇒ String?
readonly
Returns the value of attribute rel.
-
#text ⇒ String
readonly
Returns the value of attribute text.
-
#url ⇒ String
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ LinkInfo
constructor
A new instance of LinkInfo.
Constructor Details
#initialize ⇒ LinkInfo
Returns a new instance of LinkInfo.
343 |
# File 'sig/types.rbs', line 343
def initialize: (?url: String, ?text: String, ?link_type: LinkType, ?rel: String, ?nofollow: bool) -> void
|
Instance Attribute Details
#link_type ⇒ LinkType (readonly)
Returns the value of attribute link_type.
339 340 341 |
# File 'sig/types.rbs', line 339 def link_type @link_type end |
#nofollow ⇒ Boolean (readonly)
Returns the value of attribute nofollow.
341 342 343 |
# File 'sig/types.rbs', line 341 def nofollow @nofollow end |
#rel ⇒ String? (readonly)
Returns the value of attribute rel.
340 341 342 |
# File 'sig/types.rbs', line 340 def rel @rel end |
#text ⇒ String (readonly)
Returns the value of attribute text.
338 339 340 |
# File 'sig/types.rbs', line 338 def text @text end |
#url ⇒ String (readonly)
Returns the value of attribute url.
337 338 339 |
# File 'sig/types.rbs', line 337 def url @url end |