Module RubyTorrent::MinIntervalMethods
In: lib/rubytorrent/util.rb

ensure that a method doesn‘t execute more frequently than some number of seconds. e.g.:

def meth

  ...

end min_iterval :meth, 10

ensures that "meth" won‘t be executed more than once every 10 seconds.

Methods

Public Instance methods

[Validate]