Sha256: 0465b6d3bb7734a3fa2bb28aced3ba96e269679ce06d72367b7a1360dd487288

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

require 'barking_iguana/fork_calls'

class Foo
  def initialize
    @thing = BarkingIguana::ForkCalls.fork_to Bar.new, Quux.new
  end

  def do_it
    @thing.other_call
  end
end

class Bar
  def other_call
    puts "bar"
  end
end

class Quux
  def other_call
    puts "quux"
  end
end

Foo.new.do_it

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
barking_iguana-fork_calls-0.1.0 example/simple.rb