Sha256: 77fb7150cb3de61b737f3db45a771451de3e4aba083f06c7e6134d1e52d9160c
Contents?: true
Size: 400 Bytes
Versions: 2
Compression:
Stored size: 400 Bytes
Contents
require 'delegate' module Alki module Reload class AssemblyDelegator < Delegator def initialize(obj,reloader) @obj = obj @reloader = reloader end def __reload__ if @obj.respond_to? :__reload__ return false unless @obj.__reload__ end @reloader.reload end def __getobj__ @obj end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alki-reload-0.2.0 | lib/alki/reload/assembly_delegator.rb |
alki-reload-0.1.0 | lib/alki/reload/assembly_delegator.rb |