Class: Masks::Sessions::Inline

Inherits:
Masks::Session show all
Defined in:
app/models/masks/sessions/inline.rb

Overview

Session for masking inline ruby code.

Constant Summary

Constants inherited from Masks::Session

Masks::Session::CHECK_KEY

Instance Method Summary collapse

Methods inherited from Masks::Session

#access, #actor=, #checks_for, #cleanup!, #data, #device, #error_message, #extra, #extras, #find_check, #fingerprint, #id, #ip_address, #mask, mask!, #mask!, #params, #passed?, #passed_at, #passed_checks?, #past_checks, #scoped, #session_params, #user_agent, #writable?

Instance Method Details

#matches_mask?(mask) ⇒ Boolean

Returns:

  • (Boolean)


11
12
13
# File 'app/models/masks/sessions/inline.rb', line 11

def matches_mask?(mask)
  true if mask.name == name
end