| Class | Wisper::ValueObjects::Events |
| In: |
lib/wisper/value_objects/events.rb
|
| Parent: | Object |
Describes allowed events
Duck-types the argument to quack like array of strings when responding to the {include?} method call.
@!scope class @!method new(on) Initializes a ‘list’ of events
@param [NilClass, String, Symbol, Array, Regexp] list
@raise [ArgumentError]
if an argument if of unsupported type
@return [undefined]