Method: WhatWeb::Matcher::Status#initialize
- Defined in:
- lib/whatweb/matcher/status.rb
#initialize(target, match) ⇒ Status
Returns a new instance of Status.
7 8 9 10 |
# File 'lib/whatweb/matcher/status.rb', line 7 def initialize(target, match) super(target, match) @status = match[:status].to_i end |