class CSP::DirectiveValue::Source::Hash
Public Instance Methods
algorithm()
click to toggle source
# File lib/directive_value/source/hash.rb, line 8 def algorithm @match[:algorithm] end
value()
click to toggle source
# File lib/directive_value/source/hash.rb, line 12 def value @match[:value] end
Private Instance Methods
regexp()
click to toggle source
# File lib/directive_value/source/hash.rb, line 18 def regexp /\A#{CSP::Grammar::HASH_SOURCE}\z/o end