Module: Cardio::Delaying

Included in:
Cardio
Defined in:
lib/cardio/delaying.rb

Overview

easy access method for delay configuration

Instance Method Summary collapse

Instance Method Details

#delaying!(on = true) ⇒ Object



4
5
6
# File 'lib/cardio/delaying.rb', line 4

def delaying! on=true
  config.delaying = (on == true)
end

#delaying?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/cardio/delaying.rb', line 8

def delaying?
  config.delaying
end