Class: Cherrypicker::SingleLink
- Inherits:
-
Object
- Object
- Cherrypicker::SingleLink
- Defined in:
- lib/cherrypicker/linkchecker.rb
Instance Attribute Summary collapse
-
#link ⇒ Object
Returns the value of attribute link.
-
#size ⇒ Object
Returns the value of attribute size.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(link, status, size) ⇒ SingleLink
constructor
A new instance of SingleLink.
Constructor Details
#initialize(link, status, size) ⇒ SingleLink
Returns a new instance of SingleLink.
115 116 117 118 119 |
# File 'lib/cherrypicker/linkchecker.rb', line 115 def initialize(link, status, size) @size = size @link = link @status = status end |
Instance Attribute Details
#link ⇒ Object
Returns the value of attribute link.
113 114 115 |
# File 'lib/cherrypicker/linkchecker.rb', line 113 def link @link end |
#size ⇒ Object
Returns the value of attribute size.
113 114 115 |
# File 'lib/cherrypicker/linkchecker.rb', line 113 def size @size end |
#status ⇒ Object
Returns the value of attribute status.
113 114 115 |
# File 'lib/cherrypicker/linkchecker.rb', line 113 def status @status end |