class Wordlist::Operators::UnaryOperator

Unary operator base class.

@since 1.0.0

Attributes

wordlist[R]

The wordlist to operate on.

@return [Enumerable]

Public Class Methods

new(wordlist) click to toggle source

Initializes the unary operator.

@param [Enumerable] wordlist

The wordlist.
# File lib/wordlist/operators/unary_operator.rb, line 24
def initialize(wordlist)
  @wordlist = wordlist
end