class MSFLVisitors::Nodes::Set

Attributes

contents[RW]

Public Class Methods

new(nodes) click to toggle source

@param nodes [Array<MSFL::Nodes::Base>] the nodes that the filter surrounds

# File lib/msfl_visitors/nodes/set.rb, line 13
def initialize(nodes)
  self.contents = Array(nodes)
end

Public Instance Methods

==(other) click to toggle source
# File lib/msfl_visitors/nodes/set.rb, line 17
def ==(other)
  self.class == other.class &&
      contents == other.contents
end