lib/ronin/exploits/metadata/url_path.rb in ronin-exploits-1.0.0 vs lib/ronin/exploits/metadata/url_path.rb in ronin-exploits-1.0.1
- old
+ new
@@ -1,5 +1,6 @@
+# frozen_string_literal: true
#
# ronin-exploits - A Ruby library for ronin-rb that provides exploitation and
# payload crafting functionality.
#
# Copyright (c) 2007-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
@@ -36,9 +37,12 @@
#
def self.included(exploit)
exploit.extend ClassMethods
end
+ #
+ # Class-methods.
+ #
module ClassMethods
#
# Get or sets the target URL path of the exploit.
#
# @param [String, nil] new_url_path