class Guard::Dsl

def clearing(on)

Parameters:
  • on (Symbol) -- ':on' to turn on, ':off' (default) to turn off

Other tags:
    Example: switching clearing the screen on -
def clearing(on)
  Guard.state.session.clearing(on == :on)
end