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.
256 |
# File 'sig/types.rbs', line 256
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.
252 253 254 |
# File 'sig/types.rbs', line 252 def link_type @link_type end |
#nofollow ⇒ Boolean?
Returns the value of attribute nofollow.
254 255 256 |
# File 'sig/types.rbs', line 254 def nofollow @nofollow end |
#rel ⇒ String?
Returns the value of attribute rel.
253 254 255 |
# File 'sig/types.rbs', line 253 def rel @rel end |
#text ⇒ String?
Returns the value of attribute text.
251 252 253 |
# File 'sig/types.rbs', line 251 def text @text end |
#url ⇒ String?
Returns the value of attribute url.
250 251 252 |
# File 'sig/types.rbs', line 250 def url @url end |