Class: Waylon::Routes::BlackHole

Inherits:
Waylon::Route show all
Defined in:
lib/waylon/routes/black_hole.rb

Overview

The route for unroutable events

Instance Attribute Summary

Attributes inherited from Waylon::Route

#condition, #destination, #name, #priority

Instance Method Summary collapse

Constructor Details

#initialize(name: "black_hole", destination: Skills::Default, condition: Conditions::BlackHole.new, priority: 0) ⇒ BlackHole

Returns a new instance of BlackHole.



7
8
9
10
11
12
13
14
# File 'lib/waylon/routes/black_hole.rb', line 7

def initialize(
  name: "black_hole",
  destination: Skills::Default,
  condition: Conditions::BlackHole.new,
  priority: 0
)
  super
end