Class: Blondie::Checker
- Inherits:
-
Object
- Object
- Blondie::Checker
- Defined in:
- lib/blondie/checker.rb
Instance Attribute Summary collapse
-
#urls ⇒ Object
readonly
Returns the value of attribute urls.
Instance Method Summary collapse
- #extensions ⇒ Object
- #gems_with_extensions ⇒ Object
-
#initialize(urls) ⇒ Checker
constructor
A new instance of Checker.
Constructor Details
#initialize(urls) ⇒ Checker
Returns a new instance of Checker.
11 12 13 14 15 |
# File 'lib/blondie/checker.rb', line 11 def initialize(urls) @urls = urls @extensions = [] @gems_with_extensions = [] end |
Instance Attribute Details
#urls ⇒ Object (readonly)
Returns the value of attribute urls.
9 10 11 |
# File 'lib/blondie/checker.rb', line 9 def urls @urls end |
Instance Method Details
#extensions ⇒ Object
22 23 24 25 |
# File 'lib/blondie/checker.rb', line 22 def extensions find_extensions if @extensions.empty? @extensions end |
#gems_with_extensions ⇒ Object
17 18 19 20 |
# File 'lib/blondie/checker.rb', line 17 def gems_with_extensions find_extensions if @gems_with_extensions.empty? @gems_with_extensions end |