Module: Ronin::Exploits::Metadata::HeaderName::ClassMethods
- Defined in:
- lib/ronin/exploits/metadata/header_name.rb
Overview
Class-methods.
Instance Method Summary collapse
-
#header_name(new_header_name = nil) ⇒ String?
Get or sets the target HTTP Header name of the exploit.
Instance Method Details
#header_name(new_header_name = nil) ⇒ String?
Get or sets the target HTTP Header name of the exploit.
57 58 59 60 61 62 63 64 65 |
# File 'lib/ronin/exploits/metadata/header_name.rb', line 57 def header_name(new_header_name=nil) if new_header_name @header_name = new_header_name else @header_name ||= if superclass.kind_of?(ClassMethods) superclass.header_name end end end |