Commit Graph

9 Commits

Author SHA1 Message Date
fe1de43250 add on method for registering blocks
examples updated
2023-08-18 00:27:43 +01:00
1ba1247b7f callbacks now public method
register,deregister handle single callbacks
or arrays of callbacks
2023-08-03 15:07:18 +01:00
eaa9436081 mixin Callback module
observers should now be registered directly onto vm object

example updated to reflect changes
2023-07-28 18:51:15 +01:00
d8ee19e2f8 update rakefile
rework examples
2023-07-21 09:34:26 +01:00
ac7d9c0d03 Events::Callback now a class
on_event method renamed to trigger

events example updated to reflect changes to Events module
2023-07-17 08:34:34 +01:00
f14a549c03 now using standard Ruby logger module
easy_logging removed from dependencies

@configs now raises error on invalid key
2023-07-16 11:08:24 +01:00
c0d2379b62 ensure we initialize comp arrays
use zip,map to calculate comps
2023-07-14 21:03:40 +01:00
07836b7c26 lint 2023-07-14 12:07:02 +01:00
07e06bf103 add events example 2023-07-14 01:40:05 +01:00