class Filigree::SingleObjectPattern
An abstract class that matches only a single object to a single pattern.
Attributes
pattern_elem[R]
@return [BasicPattern]
Public Class Methods
new(pattern_elem)
click to toggle source
Create a new pattern with a single element.
@param [Object] pattern_elem
Object
representing the pattern
# File lib/filigree/match.rb, line 343 def initialize(pattern_elem) @pattern_elem = pattern_elem end