Class: Mactag::Indexer::App
- Inherits:
-
Object
- Object
- Mactag::Indexer::App
- Defined in:
- lib/mactag/indexer/app.rb
Constant Summary collapse
- PATTERNS =
['app/**/*.rb', 'lib/**/*.rb']
Instance Attribute Summary collapse
-
#tag ⇒ Object
readonly
Returns the value of attribute tag.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(tag) ⇒ App
constructor
A new instance of App.
Constructor Details
#initialize(tag) ⇒ App
Returns a new instance of App.
8 9 10 |
# File 'lib/mactag/indexer/app.rb', line 8 def initialize(tag) @tag = tag end |
Instance Attribute Details
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
4 5 6 |
# File 'lib/mactag/indexer/app.rb', line 4 def tag @tag end |
Class Method Details
.all ⇒ Object
14 15 16 17 18 |
# File 'lib/mactag/indexer/app.rb', line 14 def all PATTERNS.map do |pattern| new(pattern) end end |