Class: Rooibos::Router::Predicate::Always

Inherits:
Object
  • Object
show all
Defined in:
lib/rooibos/router/predicate.rb

Overview

Matches all messages.

Instance Method Summary collapse

Instance Method Details

#arityObject



59
# File 'lib/rooibos/router/predicate.rb', line 59

def arity = 2

#call(_message, _model) ⇒ Object



60
# File 'lib/rooibos/router/predicate.rb', line 60

def call(_message, _model) = true