Sha256: ebaa7a2fead444494e883cc3dff718d0d7deba002a4846f8eb313a190048e789

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

require_relative "../lib/ray"

class Test
  def calling_method
    self.called_method
  end

  def called_method
    ray.caller
  end
end

ray.new_screen('Caller')

Test.new.calling_method
ray.caller
ray.to_json(['a' => 1, 'b' => 2, 'c' => [3,4]], {hey: 123})

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-ray-0.4.1 examples/caller.rb