Module: Ronin::App::Types

Defined in:
lib/ronin/app/types.rb,
lib/ronin/app/types/nmap.rb,
lib/ronin/app/types/vulns.rb,
lib/ronin/app/types/import.rb,
lib/ronin/app/types/spider.rb

Overview

Types used by ronin-app.

Defined Under Namespace

Modules: Import, Nmap, Spider, Vulns

Constant Summary collapse

Args =

Represents an Array of argument values.

Types::Array.of(Types::String).constructor do |value|
  value.split
end
List =

Represents a space or comma separated list of values.

Types::Array.of(Types::String).constructor do |value|
  value.split(/(?:,\s*|\s+)/)
end
CommaSeparatedList =

Represents a comma separated list of values.

Types::Array.of(Types::String).constructor do |value|
  value.split(/,\s*/)
end
HTTPMethod =

Represents an HTTP method name.

Types::String.enum(
  'COPY',
  'DELETE',
  'GET',
  'HEAD',
  'LOCK',
  'MKCOL',
  'MOVE',
  'OPTIONS',
  'PATCH',
  'POST',
  'PROPFIND',
  'PROPPATCH',
  'PUT',
  'TRACE',
  'UNLOCK'
)