Class: Crawlberg::LinkInfo
- Inherits:
-
Object
- Object
- Crawlberg::LinkInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#link_type ⇒ LinkType?
Returns the value of attribute link_type.
-
#nofollow ⇒ Boolean?
Returns the value of attribute nofollow.
-
#rel ⇒ String?
Returns the value of attribute rel.
-
#text ⇒ String?
Returns the value of attribute text.
-
#url ⇒ String?
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.
265 |
# File 'sig/types.rbs', line 265
def initialize: (?url: String, ?text: String, ?link_type: LinkType, ?rel: String, ?nofollow: bool) -> void
|
Instance Attribute Details
#link_type ⇒ LinkType?
Returns the value of attribute link_type.
261 262 263 |
# File 'sig/types.rbs', line 261 def link_type @link_type end |
#nofollow ⇒ Boolean?
Returns the value of attribute nofollow.
263 264 265 |
# File 'sig/types.rbs', line 263 def nofollow @nofollow end |
#rel ⇒ String?
Returns the value of attribute rel.
262 263 264 |
# File 'sig/types.rbs', line 262 def rel @rel end |
#text ⇒ String?
Returns the value of attribute text.
260 261 262 |
# File 'sig/types.rbs', line 260 def text @text end |
#url ⇒ String?
Returns the value of attribute url.
259 260 261 |
# File 'sig/types.rbs', line 259 def url @url end |