Sha256: b5c5aba42daca41786217cf32982dd95f5be031b6f4290faa6a7aa6c79f0a24d

Contents?: true

Size: 263 Bytes

Versions: 7

Compression:

Stored size: 263 Bytes

Contents

# frozen_string_literal: true
class Ultravisor::Child::CastReceiver < BasicObject
  def initialize(&blk)
    @blk = blk
  end

  def method_missing(name, *args, &blk)
    castback = ::Ultravisor::Child::Cast.new(name, args, blk)
    @blk.call(castback)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
service_skeleton-2.1.0 ultravisor/lib/ultravisor/child/cast_receiver.rb
service_skeleton-1.0.5 ultravisor/lib/ultravisor/child/cast_receiver.rb
service_skeleton-2.0.2 ultravisor/lib/ultravisor/child/cast_receiver.rb
service_skeleton-2.0.1 ultravisor/lib/ultravisor/child/cast_receiver.rb
service_skeleton-2.0.0 ultravisor/lib/ultravisor/child/cast_receiver.rb
service_skeleton-1.0.4 ultravisor/lib/ultravisor/child/cast_receiver.rb
service_skeleton-0.0.0.1.ENOTAG ultravisor/lib/ultravisor/child/cast_receiver.rb