Sha256: de5beedfb301de0a6b4d5f96ffffe29f75cb498ff0559f22069a5ce7204d50fc

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 Bytes

Contents

require 'wordlist/operators/operator'

module Wordlist
  module Operators
    #
    # Unary operator base class.
    #
    # @since 1.0.0
    #
    class UnaryOperator < Operator

      # The wordlist to operate on.
      #
      # @return [Enumerable]
      attr_reader :wordlist

      #
      # Initializes the unary operator.
      #
      # @param [Enumerable] wordlist
      #   The wordlist.
      #
      def initialize(wordlist)
        @wordlist = wordlist
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wordlist-1.0.0 lib/wordlist/operators/unary_operator.rb