Class: Mealy::AnyLabel

Inherits:
Label
  • Object
show all
Includes:
Singleton
Defined in:
lib/mealy/label.rb

Overview

Singleton for a Label that matches anything. See ANY.

Instance Method Summary collapse

Instance Method Details

#match?(*_) ⇒ Boolean

ignores any input and matches.

Returns:

  • (Boolean)

30
31
32
# File 'lib/mealy/label.rb', line 30

def match?(*_)
  true
end