Sha256: 2e57aa660ecc05bca6ec8d3a6bef1db859f2aff2f5efbad5ec163613f142fc84
Contents?: true
Size: 375 Bytes
Versions: 5
Compression:
Stored size: 375 Bytes
Contents
module Larynx class Application attr_reader :call delegate *Commands.instance_methods << {:to => :call} def self.run(call) app = self.new(call) call.add_observer app app.run end def initialize(call) @call = call end def run #override for setup end def log(msg) app.call.log(msg) end end end
Version data entries
5 entries across 5 versions & 1 rubygems