Class: Klenod::Build::AssetChanges
- Inherits:
-
Data
- Object
- Data
- Klenod::Build::AssetChanges
- Defined in:
- lib/klenod/build/invalidation_result.rb
Instance Attribute Summary collapse
-
#added ⇒ Object
readonly
Returns the value of attribute added.
-
#changed ⇒ Object
readonly
Returns the value of attribute changed.
-
#removed ⇒ Object
readonly
Returns the value of attribute removed.
Instance Method Summary collapse
Instance Attribute Details
#added ⇒ Object (readonly)
Returns the value of attribute added
19 20 21 |
# File 'lib/klenod/build/invalidation_result.rb', line 19 def added @added end |
#changed ⇒ Object (readonly)
Returns the value of attribute changed
19 20 21 |
# File 'lib/klenod/build/invalidation_result.rb', line 19 def changed @changed end |
#removed ⇒ Object (readonly)
Returns the value of attribute removed
19 20 21 |
# File 'lib/klenod/build/invalidation_result.rb', line 19 def removed @removed end |
Instance Method Details
#empty? ⇒ Boolean
20 21 22 |
# File 'lib/klenod/build/invalidation_result.rb', line 20 def empty? added.empty? && changed.empty? && removed.empty? end |
#paths ⇒ Object
24 25 26 |
# File 'lib/klenod/build/invalidation_result.rb', line 24 def paths (added + changed + removed).uniq end |