Sha256: 37caceabfcafc06bc5964821b4148d8988ea19cdb953133c68ca485601678cd7

Contents?: true

Size: 494 Bytes

Versions: 83

Compression:

Stored size: 494 Bytes

Contents

require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/caller_fixture2'
2 + 2
3 + 3
CallerFixture.capture do
  5 + 5
  6 + 6
  :seven
  8 + 8
end

module CallerFixture
  module_function
  def example_proc
    Proc.new do
      1 + 1
      2 + 2
    end
  end

  def entry_point
    second
  end

  def second
    third
  end

  def third
    b = fourth do
      1 + 1
      caller(0)
    end
    2 + 2
    3 + 3
    return b
  end

  def fourth(&block)
    return block
  end
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
rhodes-3.1.1 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.1.1.beta spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.1.0 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.1.0.beta.5 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.1.0.beta.4 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.1.0.beta.3 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.1.0.beta.2 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.1.0.beta.1 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.0.2 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.0.2.beta.1 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.0.1 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.0.1.beta.8 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.0.1.beta.7 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.0.1.beta.6 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.0.1.beta.5 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.0.1.beta.4 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.0.1.beta.3 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.0.1.beta.2 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.0.0 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb
rhodes-3.0.0.beta.7 spec/framework_spec/app/spec/core/kernel/fixtures/caller_fixture1.rb