Class: Mactag::Indexer::Rails
- Inherits:
-
Object
- Object
- Mactag::Indexer::Rails
- Defined in:
- lib/mactag/indexer/rails.rb
Constant Summary collapse
- PACKAGES =
%w(actionmailer actionpack activemodel activerecord activeresource activesupport railties)
Instance Attribute Summary collapse
-
#except ⇒ Object
Returns the value of attribute except.
-
#only ⇒ Object
Returns the value of attribute only.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(options) ⇒ Rails
constructor
A new instance of Rails.
- #packages ⇒ Object
- #tag ⇒ Object
Constructor Details
#initialize(options) ⇒ Rails
Returns a new instance of Rails.
9 10 11 12 13 |
# File 'lib/mactag/indexer/rails.rb', line 9 def initialize() @only = packagize([:only]) @except = packagize([:except]) @version = [:version] end |
Instance Attribute Details
#except ⇒ Object
Returns the value of attribute except.
7 8 9 |
# File 'lib/mactag/indexer/rails.rb', line 7 def except @except end |
#only ⇒ Object
Returns the value of attribute only.
7 8 9 |
# File 'lib/mactag/indexer/rails.rb', line 7 def only @only end |
#version ⇒ Object
Returns the value of attribute version.
7 8 9 |
# File 'lib/mactag/indexer/rails.rb', line 7 def version @version end |