Commit Graph

21 Commits

Author SHA1 Message Date
cfeb3a7263 now extending MetaFunctions into classes
macro methods renamed
2023-08-30 12:27:50 +01:00
5307bebea8 use Kernel#Array in register,deregister 2023-08-29 15:32:23 +01:00
fe1de43250 add on method for registering blocks
examples updated
2023-08-18 00:27:43 +01:00
e989e72e51 move all require statements into top level file 2023-08-11 00:49:59 +01:00
1ba1247b7f callbacks now public method
register,deregister handle single callbacks
or arrays of callbacks
2023-08-03 15:07:18 +01:00
2dab83ec31 event type passed as symbol to on_update callback 2023-08-03 13:13:01 +01:00
209e4298aa syntax changes 2023-08-01 23:41:23 +01:00
af55e8ce1f syntax changes 2023-07-31 15:04:34 +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
23ac1b670c we already know valid params
so we can set instance variabels dynamically
2023-07-27 21:54:53 +01:00
fa2100f34b use writer methods when initializing values 2023-07-25 12:57:24 +01:00
8b45ffbeb6 make_writer_methods added to Event class 2023-07-25 10:37:35 +01:00
917a591956 use unless over if ! 2023-07-22 16:44:24 +01:00
04775e8a3e use symbols 2023-07-20 09:50:44 +01:00
e5be645818 fixes bug reading midi values 2023-07-18 07:30:04 +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
4b311520d4 add FileReader class to configs.rb
handles reading from yml and storing into configs hash
2023-07-14 14:37:49 +01:00
e3b72b9c45 run files through standard 2023-07-14 11:44:49 +01:00
69901f3502 Events::Callbacks and Events::Tracker defined 2023-07-14 00:54:12 +01:00