Module: StayAwake::Strategy::ClassMethods

Defined in:
lib/stay_awake/strategy.rb

Instance Method Summary collapse

Instance Method Details

#available?(*args) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/stay_awake/strategy.rb', line 9

def available?(*args)
  raise NotImplementedError
end

#buzz(*args) ⇒ Object

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/stay_awake/strategy.rb', line 13

def buzz(*args)
  raise NotImplementedError
end

#shut_off(*args) ⇒ Object

Raises:

  • (NotImplementedError)


17
18
19
# File 'lib/stay_awake/strategy.rb', line 17

def shut_off(*args)
  raise NotImplementedError
end