Sha256: fe083a0a7375c2dc6a71622bc8b7c79f5ab9188ca6f78be35f31fe0bffdcda58
Contents?: true
Size: 684 Bytes
Versions: 1
Compression:
Stored size: 684 Bytes
Contents
# frozen_string_literal: true require_relative 'operator' module Wordlist module Operators # # Binary operator base class. # # @since 1.0.0 # class BinaryOperator < Operator # The left operand. # # @return [Enumerable] attr_reader :left # The right operand. # # @return [Enumerable] attr_reader :right # # Initializes the binary operator. # # @param [Enumerable] left # The left operand. # # @param [Enumerable] right # The right operand. # def initialize(left,right) @left = left @right = right end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wordlist-1.1.1 | lib/wordlist/operators/binary_operator.rb |