Class: EvernoteLinkExtractor::LinkList
- Inherits:
-
Object
- Object
- EvernoteLinkExtractor::LinkList
- Defined in:
- lib/evernote_link_extractor/link_list.rb
Instance Attribute Summary collapse
-
#failures ⇒ Object
Returns the value of attribute failures.
-
#file_list ⇒ Object
readonly
Returns the value of attribute file_list.
-
#link_list ⇒ Object
readonly
Returns the value of attribute link_list.
Instance Method Summary collapse
- #create(file_list) ⇒ Object
-
#initialize ⇒ LinkList
constructor
A new instance of LinkList.
Constructor Details
#initialize ⇒ LinkList
Returns a new instance of LinkList.
7 8 9 10 |
# File 'lib/evernote_link_extractor/link_list.rb', line 7 def initialize @link_list = [] @failures = 0 end |
Instance Attribute Details
#failures ⇒ Object
Returns the value of attribute failures.
5 6 7 |
# File 'lib/evernote_link_extractor/link_list.rb', line 5 def failures @failures end |
#file_list ⇒ Object (readonly)
Returns the value of attribute file_list.
4 5 6 |
# File 'lib/evernote_link_extractor/link_list.rb', line 4 def file_list @file_list end |
#link_list ⇒ Object (readonly)
Returns the value of attribute link_list.
4 5 6 |
# File 'lib/evernote_link_extractor/link_list.rb', line 4 def link_list @link_list end |
Instance Method Details
#create(file_list) ⇒ Object
12 13 14 15 |
# File 'lib/evernote_link_extractor/link_list.rb', line 12 def create(file_list) @file_list = file_list create_link_list end |