dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.3.1
Azure has joined #cinch
<bazzy> when I make a matcher .. and provide the method.. for example `method: :print` | is there a way to provide an instance's method? pseudo-code: `method: instance.print`
<bazzy> where is instance is some plugin instance variable
<bazzy> (a variable within the individual plugin)
<bazzy> as I understand, the matchers are created before instantiation .. so I cannot do this.. am I correct?
<bazzy> I guess another question would be .. is there a public API to create matchers after plugin instantiation?
<bazzy> the whole reason I am doing this is so I can "compose" my plugin extensions instead of including them as modules into different plugins.. (helps to isolate functions and keep the namespace clean)
<bazzy> As a current work-around .. I have a method in the plugin which call's the instance-variable method ... but it's a layer of indirection I'd rather not have :\
* bazzy goes to #ruby in search of answers
abakedapplepie has quit [Ping timeout: 244 seconds]
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ConcernedHobbit has quit [Ping timeout: 260 seconds]
ConcernedHobbit has joined #cinch
Azure has joined #cinch
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azure has joined #cinch
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
abakedapplepie has joined #cinch
Azure has joined #cinch