Module: Rabbit::Source::LimitAccessInterval
- Included in:
- URI
- Defined in:
- lib/rabbit/source/base.rb
Constant Summary collapse
- MINIMUM_ACCESS_TIME =
60
Instance Method Summary collapse
Instance Method Details
#initialize(*args, &block) ⇒ Object
158 159 160 161 |
# File 'lib/rabbit/source/base.rb', line 158 def initialize(*args, &block) update_last_access_time super end |
#old?(current, get_latest_method_name) ⇒ Boolean
163 164 165 166 167 |
# File 'lib/rabbit/source/base.rb', line 163 def old?(current, get_latest_method_name) result = (can_access? and super) update_last_access_time if result result end |