Class: Assets::Asset
Overview
Abstract base class for asset
Instance Method Summary collapse
-
#fresh_at?(time) ⇒ true, false
private
Test if asset was fresh at specific point of time.
Instance Method Details
#fresh_at?(time) ⇒ true, false
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Test if asset was fresh at specific point of time
19 20 21 |
# File 'lib/assets/asset.rb', line 19 def fresh_at?(time) time >= created_at end |