class Oso::Polar::Pattern
Polar
pattern.
Attributes
fields[R]
tag[R]
Public Class Methods
new(tag, fields)
click to toggle source
@param tag [String] @param fields [Hash<String, Object>]
# File lib/oso/polar/pattern.rb, line 11 def initialize(tag, fields) @tag = tag @fields = fields end
Public Instance Methods
==(other)
click to toggle source
@param other [Pattern] @return [Boolean]
# File lib/oso/polar/pattern.rb, line 18 def ==(other) tag == other.tag && fields == other.fields end
Also aliased as: eql?