class CSP::DirectiveValue::Source::Nonce

Public Instance Methods

value() click to toggle source
# File lib/directive_value/source/nonce.rb, line 8
def value
  @match[:value]
end

Private Instance Methods

regexp() click to toggle source
# File lib/directive_value/source/nonce.rb, line 14
def regexp
  /\A#{CSP::Grammar::NONCE_SOURCE}\z/o
end