class Mealy::AnyLabel

Singleton for a Label that matches anything. See {ANY}.

Public Class Methods

new() click to toggle source
# File lib/mealy/label.rb, line 24
def initialize
end

Public Instance Methods

match?(*_) click to toggle source

ignores any input and matches.

# File lib/mealy/label.rb, line 30
def match?(*_)
  true
end