lib/moosex/event.rb in moosex-0.0.18 vs lib/moosex/event.rb in moosex-0.0.19
- old
+ new
@@ -18,10 +18,10 @@
include MooseX::Types
has listeners: {
is: :private,
isa: isArray(EventListener),
- default: lambda{ [] },
+ default: ->{ [] },
}
def has_events
nil
end