lib/ronin/credential.rb in ronin-1.4.0 vs lib/ronin/credential.rb in ronin-1.4.1
- old
+ new
@@ -113,29 +113,7 @@
#
def to_s
"#{self.user_name}:#{self.password}"
end
- #
- # Splits the credential to multiple variables.
- #
- # @return [Array<String>]
- # The user and the password.
- #
- # @example
- # user, password = cred
- #
- # user
- # # => "alice"
- # password
- # # => "secret"
- #
- # @since 1.0.0
- #
- # @api public
- #
- def to_ary
- [self.user_name.name, self.password.clear_text]
- end
-
end
end