In Files

  • typeprof-0.15.2/smoke/alias.rb
  • typeprof-0.15.2/smoke/any1.rb
  • typeprof-0.15.2/smoke/any2.rb
  • typeprof-0.15.2/smoke/arguments.rb
  • typeprof-0.15.2/smoke/arguments2.rb
  • typeprof-0.15.2/smoke/array-each.rb
  • typeprof-0.15.2/smoke/array-each2.rb
  • typeprof-0.15.2/smoke/array-each3.rb
  • typeprof-0.15.2/smoke/array-ltlt.rb
  • typeprof-0.15.2/smoke/array-ltlt2.rb
  • typeprof-0.15.2/smoke/array-map.rb
  • typeprof-0.15.2/smoke/array-map2.rb
  • typeprof-0.15.2/smoke/array-map3.rb
  • typeprof-0.15.2/smoke/array-mul.rb
  • typeprof-0.15.2/smoke/array-plus1.rb
  • typeprof-0.15.2/smoke/array-pop.rb
  • typeprof-0.15.2/smoke/array-range-aref.rb
  • typeprof-0.15.2/smoke/array-replace.rb
  • typeprof-0.15.2/smoke/array-s-aref.rb
  • typeprof-0.15.2/smoke/array1.rb
  • typeprof-0.15.2/smoke/array10.rb
  • typeprof-0.15.2/smoke/array11.rb
  • typeprof-0.15.2/smoke/array12.rb
  • typeprof-0.15.2/smoke/array13.rb
  • typeprof-0.15.2/smoke/array14.rb
  • typeprof-0.15.2/smoke/array2.rb
  • typeprof-0.15.2/smoke/array4.rb
  • typeprof-0.15.2/smoke/array5.rb
  • typeprof-0.15.2/smoke/array6.rb
  • typeprof-0.15.2/smoke/array7.rb
  • typeprof-0.15.2/smoke/array9.rb
  • typeprof-0.15.2/smoke/autoload.rb
  • typeprof-0.15.2/smoke/backtrace.rb
  • typeprof-0.15.2/smoke/block-ambiguous.rb
  • typeprof-0.15.2/smoke/block-args1-rest.rb
  • typeprof-0.15.2/smoke/block-args1.rb
  • typeprof-0.15.2/smoke/block-args2-rest.rb
  • typeprof-0.15.2/smoke/block-args2.rb
  • typeprof-0.15.2/smoke/block-args3-rest.rb
  • typeprof-0.15.2/smoke/block-args3.rb
  • typeprof-0.15.2/smoke/block-blockarg.rb
  • typeprof-0.15.2/smoke/block-kwarg.rb
  • typeprof-0.15.2/smoke/block1.rb
  • typeprof-0.15.2/smoke/block10.rb
  • typeprof-0.15.2/smoke/block11.rb
  • typeprof-0.15.2/smoke/block12.rb
  • typeprof-0.15.2/smoke/block14.rb
  • typeprof-0.15.2/smoke/block2.rb
  • typeprof-0.15.2/smoke/block4.rb
  • typeprof-0.15.2/smoke/block5.rb
  • typeprof-0.15.2/smoke/block6.rb
  • typeprof-0.15.2/smoke/block7.rb
  • typeprof-0.15.2/smoke/block8.rb
  • typeprof-0.15.2/smoke/block9.rb
  • typeprof-0.15.2/smoke/block_given.rb
  • typeprof-0.15.2/smoke/blown.rb
  • typeprof-0.15.2/smoke/break1.rb
  • typeprof-0.15.2/smoke/break2.rb
  • typeprof-0.15.2/smoke/break3.rb
  • typeprof-0.15.2/smoke/break4.rb
  • typeprof-0.15.2/smoke/case.rb
  • typeprof-0.15.2/smoke/case2.rb
  • typeprof-0.15.2/smoke/case3.rb
  • typeprof-0.15.2/smoke/class-hierarchy.rb
  • typeprof-0.15.2/smoke/class-new.rb
  • typeprof-0.15.2/smoke/constant1.rb
  • typeprof-0.15.2/smoke/constant2.rb
  • typeprof-0.15.2/smoke/constant3.rb
  • typeprof-0.15.2/smoke/constant4.rb
  • typeprof-0.15.2/smoke/context-sensitive1.rb
  • typeprof-0.15.2/smoke/cvar.rb
  • typeprof-0.15.2/smoke/define_method6.rb
  • typeprof-0.15.2/smoke/demo.rb
  • typeprof-0.15.2/smoke/demo1.rb
  • typeprof-0.15.2/smoke/demo10.rb
  • typeprof-0.15.2/smoke/demo11.rb
  • typeprof-0.15.2/smoke/demo2.rb
  • typeprof-0.15.2/smoke/demo3.rb
  • typeprof-0.15.2/smoke/demo7.rb
  • typeprof-0.15.2/smoke/demo8.rb
  • typeprof-0.15.2/smoke/demo9.rb
  • typeprof-0.15.2/smoke/dummy-execution1.rb
  • typeprof-0.15.2/smoke/ensure1.rb
  • typeprof-0.15.2/smoke/enum_for.rb
  • typeprof-0.15.2/smoke/enumerator.rb
  • typeprof-0.15.2/smoke/expandarray1.rb
  • typeprof-0.15.2/smoke/expandarray2.rb
  • typeprof-0.15.2/smoke/flip-flop.rb
  • typeprof-0.15.2/smoke/flow1.rb
  • typeprof-0.15.2/smoke/flow10.rb
  • typeprof-0.15.2/smoke/flow11.rb
  • typeprof-0.15.2/smoke/flow2.rb
  • typeprof-0.15.2/smoke/flow3.rb
  • typeprof-0.15.2/smoke/flow5.rb
  • typeprof-0.15.2/smoke/flow6.rb
  • typeprof-0.15.2/smoke/flow7.rb
  • typeprof-0.15.2/smoke/flow8.rb
  • typeprof-0.15.2/smoke/flow9.rb
  • typeprof-0.15.2/smoke/freeze.rb
  • typeprof-0.15.2/smoke/function.rb
  • typeprof-0.15.2/smoke/gvar.rb
  • typeprof-0.15.2/smoke/gvar2.rb
  • typeprof-0.15.2/smoke/hash-bot.rb
  • typeprof-0.15.2/smoke/hash-fetch.rb
  • typeprof-0.15.2/smoke/hash-merge-bang.rb
  • typeprof-0.15.2/smoke/hash1.rb
  • typeprof-0.15.2/smoke/hash2.rb
  • typeprof-0.15.2/smoke/hash3.rb
  • typeprof-0.15.2/smoke/hash4.rb
  • typeprof-0.15.2/smoke/huge_union.rb
  • typeprof-0.15.2/smoke/identifier_keywords.rb
  • typeprof-0.15.2/smoke/initialize.rb
  • typeprof-0.15.2/smoke/instance_eval4.rb
  • typeprof-0.15.2/smoke/int_times.rb
  • typeprof-0.15.2/smoke/integer.rb
  • typeprof-0.15.2/smoke/ivar.rb
  • typeprof-0.15.2/smoke/ivar4.rb
  • typeprof-0.15.2/smoke/kernel-class.rb
  • typeprof-0.15.2/smoke/keyword1.rb
  • typeprof-0.15.2/smoke/keyword2.rb
  • typeprof-0.15.2/smoke/keyword3.rb
  • typeprof-0.15.2/smoke/keyword4.rb
  • typeprof-0.15.2/smoke/keyword5.rb
  • typeprof-0.15.2/smoke/kwsplat1.rb
  • typeprof-0.15.2/smoke/kwsplat2.rb
  • typeprof-0.15.2/smoke/lit-complex.rb
  • typeprof-0.15.2/smoke/lit-encoding.rb
  • typeprof-0.15.2/smoke/manual-rbs.rb
  • typeprof-0.15.2/smoke/manual-rbs2.rb
  • typeprof-0.15.2/smoke/masgn1.rb
  • typeprof-0.15.2/smoke/masgn2.rb
  • typeprof-0.15.2/smoke/masgn3.rb
  • typeprof-0.15.2/smoke/method_in_branch.rb
  • typeprof-0.15.2/smoke/module6.rb
  • typeprof-0.15.2/smoke/multiple-superclass.rb
  • typeprof-0.15.2/smoke/next1.rb
  • typeprof-0.15.2/smoke/next2.rb
  • typeprof-0.15.2/smoke/noname.rb
  • typeprof-0.15.2/smoke/object-send1.rb
  • typeprof-0.15.2/smoke/object-send2.rb
  • typeprof-0.15.2/smoke/object-send3.rb
  • typeprof-0.15.2/smoke/once.rb
  • typeprof-0.15.2/smoke/optional1.rb
  • typeprof-0.15.2/smoke/optional2.rb
  • typeprof-0.15.2/smoke/optional3.rb
  • typeprof-0.15.2/smoke/or_raise.rb
  • typeprof-0.15.2/smoke/parameterizedd-self.rb
  • typeprof-0.15.2/smoke/parameterizedd-self2.rb
  • typeprof-0.15.2/smoke/pathname1.rb
  • typeprof-0.15.2/smoke/pathname2.rb
  • typeprof-0.15.2/smoke/pattern-match1.rb
  • typeprof-0.15.2/smoke/pattern-match2.rb
  • typeprof-0.15.2/smoke/prepend2.rb
  • typeprof-0.15.2/smoke/primitive_method.rb
  • typeprof-0.15.2/smoke/proc.rb
  • typeprof-0.15.2/smoke/proc2.rb
  • typeprof-0.15.2/smoke/proc3.rb
  • typeprof-0.15.2/smoke/proc4.rb
  • typeprof-0.15.2/smoke/proc5.rb
  • typeprof-0.15.2/smoke/proc6.rb
  • typeprof-0.15.2/smoke/range.rb
  • typeprof-0.15.2/smoke/rbs-alias.rb
  • typeprof-0.15.2/smoke/rbs-attr.rb
  • typeprof-0.15.2/smoke/rbs-extend.rb
  • typeprof-0.15.2/smoke/rbs-interface.rb
  • typeprof-0.15.2/smoke/rbs-opt-and-rest.rb
  • typeprof-0.15.2/smoke/rbs-proc1.rb
  • typeprof-0.15.2/smoke/rbs-proc2.rb
  • typeprof-0.15.2/smoke/rbs-proc3.rb
  • typeprof-0.15.2/smoke/rbs-record.rb
  • typeprof-0.15.2/smoke/rbs-tyvar.rb
  • typeprof-0.15.2/smoke/rbs-tyvar2.rb
  • typeprof-0.15.2/smoke/rbs-tyvar3.rb
  • typeprof-0.15.2/smoke/rbs-tyvar5.rb
  • typeprof-0.15.2/smoke/rbs-tyvar6.rb
  • typeprof-0.15.2/smoke/rbs-tyvar7.rb
  • typeprof-0.15.2/smoke/rbs-vars.rb
  • typeprof-0.15.2/smoke/redo1.rb
  • typeprof-0.15.2/smoke/redo2.rb
  • typeprof-0.15.2/smoke/req-keyword.rb
  • typeprof-0.15.2/smoke/rescue1.rb
  • typeprof-0.15.2/smoke/rescue2.rb
  • typeprof-0.15.2/smoke/rescue3.rb
  • typeprof-0.15.2/smoke/rescue4.rb
  • typeprof-0.15.2/smoke/respond_to.rb
  • typeprof-0.15.2/smoke/rest-farg.rb
  • typeprof-0.15.2/smoke/rest1.rb
  • typeprof-0.15.2/smoke/rest2.rb
  • typeprof-0.15.2/smoke/rest3.rb
  • typeprof-0.15.2/smoke/rest4.rb
  • typeprof-0.15.2/smoke/rest5.rb
  • typeprof-0.15.2/smoke/rest6.rb
  • typeprof-0.15.2/smoke/retry1.rb
  • typeprof-0.15.2/smoke/return.rb
  • typeprof-0.15.2/smoke/simple.rb
  • typeprof-0.15.2/smoke/singleton_method.rb
  • typeprof-0.15.2/smoke/step.rb
  • typeprof-0.15.2/smoke/string-split.rb
  • typeprof-0.15.2/smoke/struct-keyword_init.rb
  • typeprof-0.15.2/smoke/struct2.rb
  • typeprof-0.15.2/smoke/struct5.rb
  • typeprof-0.15.2/smoke/stub-keyword.rb
  • typeprof-0.15.2/smoke/super1.rb
  • typeprof-0.15.2/smoke/svar1.rb
  • typeprof-0.15.2/smoke/symbol-proc-attr.rb
  • typeprof-0.15.2/smoke/symbol-proc-bot.rb
  • typeprof-0.15.2/smoke/symbol-proc.rb
  • typeprof-0.15.2/smoke/tap1.rb
  • typeprof-0.15.2/smoke/toplevel.rb
  • typeprof-0.15.2/smoke/two-map.rb
  • typeprof-0.15.2/smoke/type_var.rb
  • typeprof-0.15.2/smoke/typed_method.rb
  • typeprof-0.15.2/smoke/uninitialize-var.rb
  • typeprof-0.15.2/smoke/wrong-rbs.rb
  • typeprof-0.15.2/testbed/ao.rb
  • typeprof-0.15.2/tools/setup-insns-def.rb

Class/Module Index [+]

Quicksearch

Object

Constants

A
ARY
Ary
BAR
Base
C
CONST
F
Foo
FooBar
IMAGE_HEIGHT
IMAGE_WIDTH

AO render benchmark Original program (C) Syoyo Fujita in Javascript (and other languages)

https://code.google.com/p/aobench/

Ruby(yarv2llvm) version by Hideki Miura mruby version by Hideki Miura

INSN_TABLE
Insn
NAO_SAMPLES
NSUBSAMPLES
StringArray
V

Public Instance Methods

array(obj) click to toggle source
 
               # File typeprof-0.15.2/smoke/array11.rb, line 1
def array(obj)
    Array(obj)
end
            
ary() click to toggle source
 
               # File typeprof-0.15.2/smoke/masgn2.rb, line 1
def ary
  [1, "str", :sym, 1.0]
end
            
bar(x) click to toggle source
Alias for: foo
baz(n) click to toggle source
 
               # File typeprof-0.15.2/smoke/array1.rb, line 5
def baz(n); end
            
clamp(f) click to toggle source
 
               # File typeprof-0.15.2/testbed/ao.rb, line 142
def clamp(f)
  i = f * 255.5
  if i > 255.0
    i = 255.0
  end
  if i < 0.0
    i = 0.0
  end
  i.to_i
end
            
cond1?() click to toggle source
 
               # File typeprof-0.15.2/smoke/flip-flop.rb, line 1
def cond1?
  rand < 0.5
end
            
cond2?() click to toggle source
 
               # File typeprof-0.15.2/smoke/flip-flop.rb, line 5
def cond2?
  rand < 0.5
end
            
corge(*r, z) click to toggle source
 
               # File typeprof-0.15.2/smoke/rest3.rb, line 19
def corge(*r, z)
end
            
dispatch(*ary) click to toggle source
 
               # File typeprof-0.15.2/smoke/array-range-aref.rb, line 41
def dispatch(*ary)
  f1(*ary)
  f2(*ary)
  f3(*ary)
  f4(*ary)
  f5(*ary)
  f6(*ary)
  f7(*ary)
  f8(*ary)
  f9(*ary)
  f10(*ary)
end
            
dispatch_foo(n) click to toggle source
 
               # File typeprof-0.15.2/smoke/huge_union.rb, line 15
def dispatch_foo(n)
  n.foo("str")
end
            
f(a, b, c) click to toggle source
 
               # File typeprof-0.15.2/smoke/array14.rb, line 1
def f(a, b, c)
  ary = [nil]
  foo, bar, ary[0] = a, b, c
  ary[0]
end
            
f1() click to toggle source
 
               # File typeprof-0.15.2/smoke/arguments2.rb, line 1
def f1
end
            
f10(&blk) click to toggle source
 
               # File typeprof-0.15.2/smoke/arguments2.rb, line 37
def f10(&blk)
  blk.call(1)
end
            
f2(x, y, z) click to toggle source
 
               # File typeprof-0.15.2/smoke/arguments2.rb, line 5
def f2(x, y, z)
end
            
f3(x = "str", y = "str") click to toggle source
 
               # File typeprof-0.15.2/smoke/arguments2.rb, line 9
def f3(x = "str", y = "str")
end
            
f4(*r) click to toggle source
 
               # File typeprof-0.15.2/smoke/arguments2.rb, line 13
def f4(*r)
end
            
f5(x, y = "str", z) click to toggle source
 
               # File typeprof-0.15.2/smoke/arguments2.rb, line 17
def f5(x, y = "str", z)
end
            
f6(k:) click to toggle source
 
               # File typeprof-0.15.2/smoke/arguments2.rb, line 21
def f6(k:)
end
            
f7(k: 42) click to toggle source
 
               # File typeprof-0.15.2/smoke/arguments2.rb, line 25
def f7(k: 42)
end
            
f8(k: "str") click to toggle source
 
               # File typeprof-0.15.2/smoke/arguments2.rb, line 29
def f8(k: "str")
end
            
f9(**kw) click to toggle source
 
               # File typeprof-0.15.2/smoke/arguments2.rb, line 33
def f9(**kw)
end
            
fib(x) click to toggle source

recursive method

 
               # File typeprof-0.15.2/smoke/demo.rb, line 30
def fib(x)
  if x <= 1
    x
  else
    fib(x - 1) + fib(x - 2)
  end
end
            
foo(x) click to toggle source
 
               # File typeprof-0.15.2/smoke/alias.rb, line 1
def foo(x)
  x
end
            
Also aliased as: bar
fuga() click to toggle source
 
               # File typeprof-0.15.2/smoke/enumerator.rb, line 4
def fuga
  1.then
end
            
gen_foobar() click to toggle source
 
               # File typeprof-0.15.2/smoke/struct2.rb, line 7
def gen_foobar
  FooBar.new(1)
end
            
get_interface() click to toggle source
 
               # File typeprof-0.15.2/smoke/rbs-interface.rb, line 9
def get_interface
  C.new.get_interface
end
            
get_interface_foo() click to toggle source
 
               # File typeprof-0.15.2/smoke/rbs-interface.rb, line 13
def get_interface_foo
  C.new.get_interface.foo
end
            
get_module() click to toggle source
 
               # File typeprof-0.15.2/smoke/rbs-interface.rb, line 1
def get_module
  C.new.get_module
end
            
get_module_foo() click to toggle source
 
               # File typeprof-0.15.2/smoke/rbs-interface.rb, line 5
def get_module_foo
  C.new.get_module.foo
end
            
grault(a, o=1, *r, z) click to toggle source
 
               # File typeprof-0.15.2/smoke/rest3.rb, line 23
def grault(a, o=1, *r, z)
end
            
gvar_test() click to toggle source
 
               # File typeprof-0.15.2/smoke/rbs-vars.rb, line 1
def gvar_test
  $gvar
end
            
hoge() click to toggle source
 
               # File typeprof-0.15.2/smoke/enumerator.rb, line 1
def hoge
  [1, 2, 3].map
end
            
identity(x) click to toggle source

overrided method

 
               # File typeprof-0.15.2/smoke/demo.rb, line 16
def identity(x)
  x
end
            
log(x) click to toggle source
 
               # File typeprof-0.15.2/smoke/array-each.rb, line 1
def log(x)
end
            
log1(x) click to toggle source
 
               # File typeprof-0.15.2/smoke/block-ambiguous.rb, line 4
def log1(x); end
            
log2(x) click to toggle source
 
               # File typeprof-0.15.2/smoke/block-ambiguous.rb, line 10
def log2(x); end
            
log3(x) click to toggle source
 
               # File typeprof-0.15.2/smoke/block-ambiguous.rb, line 16
def log3(x); end
            
log4(x) click to toggle source
 
               # File typeprof-0.15.2/smoke/block-ambiguous.rb, line 22
def log4(x); end
            
log5(a, o, c) click to toggle source
 
               # File typeprof-0.15.2/smoke/block-args1-rest.rb, line 43
def log5(a, o, c); end
            
log6(a, o, r, c) click to toggle source
 
               # File typeprof-0.15.2/smoke/block-args3-rest.rb, line 52
def log6(a, o, r, c); end
            
map_bang_test(a) click to toggle source
 
               # File typeprof-0.15.2/smoke/array-map3.rb, line 4
def map_bang_test(a)
  a.map! {|n| n.to_s }
  a
end
            
map_bang_test_known_bug(a) click to toggle source
 
               # File typeprof-0.15.2/smoke/array-map3.rb, line 8
def map_bang_test_known_bug(a)
  a.map! {|n| n.to_s }
end
            
map_test(a) click to toggle source
 
               # File typeprof-0.15.2/smoke/array-map3.rb, line 1
def map_test(a)
  a.map {|n| n.to_s }
end
            
my_to_s(x) click to toggle source

override

 
               # File typeprof-0.15.2/smoke/demo2.rb, line 2
def my_to_s(x)
  x.to_s
end
            
no_argument() click to toggle source
 
               # File typeprof-0.15.2/smoke/function.rb, line 1
def no_argument
  "str"
end
            
number?(ty) click to toggle source
 
               # File typeprof-0.15.2/smoke/type_var.rb, line 1
def number?(ty)
  %w[integer float].include?(ty).then { puts 1 }
end
            
one_argument(x) click to toggle source
 
               # File typeprof-0.15.2/smoke/function.rb, line 5
def one_argument(x)
end
            
otherBasis(n) click to toggle source
 
               # File typeprof-0.15.2/testbed/ao.rb, line 153
def otherBasis(n)
  zero = Vec.new(0.0, 0.0, 0.0)
  basis = [zero, zero, zero]
  basis[2] = Vec.new(n.x, n.y, n.z)
  basis[1] = Vec.new(0.0, 0.0, 0.0)

  if n.x < 0.6 and n.x > -0.6
    basis[1].x = 1.0
  elsif n.y < 0.6 and n.y > -0.6
    basis[1].y = 1.0
  elsif n.z < 0.6 and n.z > -0.6
    basis[1].z = 1.0
  else
    basis[1].x = 1.0
  end

  basis[0] = basis[1].vcross(basis[2])
  basis[0] = basis[0].vnormalize

  basis[1] = basis[2].vcross(basis[0])
  basis[1] = basis[1].vnormalize

  basis
end
            
out(*out) click to toggle source
 
               # File typeprof-0.15.2/smoke/identifier_keywords.rb, line 4
def out(*out)
end
            
quux(n) click to toggle source
 
               # File typeprof-0.15.2/smoke/array1.rb, line 7
def quux(n); end
            
qux(n) click to toggle source
 
               # File typeprof-0.15.2/smoke/array1.rb, line 6
def qux(n); end
            
read_test_1() click to toggle source
 
               # File typeprof-0.15.2/smoke/rbs-attr.rb, line 1
def read_test_1
  Foo.new.reader_example
end
            
read_test_2() click to toggle source
 
               # File typeprof-0.15.2/smoke/rbs-attr.rb, line 5
def read_test_2
  Foo.new.accessor_example
end
            
ret_int() click to toggle source
 
               # File typeprof-0.15.2/smoke/manual-rbs.rb, line 12
def ret_int
  foo(42)
end
            
ret_str() click to toggle source
 
               # File typeprof-0.15.2/smoke/manual-rbs.rb, line 16
def ret_str
  foo("str")
end
            
seq_get() click to toggle source
 
               # File typeprof-0.15.2/smoke/array13.rb, line 18
def seq_get
  ary = [:a, :b, :c] + []
  ary[-1]
end
            
seq_set() click to toggle source
 
               # File typeprof-0.15.2/smoke/array13.rb, line 12
def seq_set
  ary = [:a, :b, :c] + []
  ary[-1] = :z
  ary
end
            
swap(a) click to toggle source
 
               # File typeprof-0.15.2/smoke/demo11.rb, line 1
def swap(a)
  [a[1], a[0]]
end
            
test_bar() click to toggle source
 
               # File typeprof-0.15.2/smoke/rbs-record.rb, line 6
def test_bar
  h = { }
  h[:a] = 42
  C.new.bar(h)
end
            
test_foo() click to toggle source
 
               # File typeprof-0.15.2/smoke/rbs-record.rb, line 1
def test_foo
  h = C.new.foo
  return h[:aaa], h[:bbb]
end
            
test_yield() click to toggle source
 
               # File typeprof-0.15.2/smoke/array12.rb, line 4
def test_yield
  yield
end
            
top() click to toggle source
 
               # File typeprof-0.15.2/testbed/ao.rb, line 288
def top
  Scene.new.render(IMAGE_WIDTH, IMAGE_HEIGHT, NSUBSAMPLES)
end
            
tuple_get() click to toggle source
 
               # File typeprof-0.15.2/smoke/array13.rb, line 7
def tuple_get
  ary = [:a, :b, :c]
  ary[-1]
end
            
tuple_set() click to toggle source
 
               # File typeprof-0.15.2/smoke/array13.rb, line 1
def tuple_set
  ary = [:a, :b, :c]
  ary[-1] = :z
  ary
end
            
type(type) click to toggle source
 
               # File typeprof-0.15.2/smoke/identifier_keywords.rb, line 1
def type(type)
end
            
untyped(untyped:) click to toggle source
 
               # File typeprof-0.15.2/smoke/identifier_keywords.rb, line 7
def untyped(untyped:)
end
            
write_test() click to toggle source
 
               # File typeprof-0.15.2/smoke/rbs-attr.rb, line 9
def write_test
  Foo.new.writer_example = 1
  Foo.new.writer_example = "str"
  Foo.new.accessor_example = 1
  Foo.new.accessor_example = "str"
end
            
There is an updated format of the API docs for this version here.