Sha256: 75d234e95591b86ffbabfc032615423578902699374bd2c67ccef3b8e5625ca2
Contents?: true
Size: 250 Bytes
Versions: 11
Compression:
Stored size: 250 Bytes
Contents
def bar(x) x end def foo yield 42 end foo do |x| bar(x) x = "str" redo if rand < 0.5 x end __END__ # Classes class Object private def bar: (Integer | String x) -> (Integer | String) def foo: { (Integer) -> String } -> String end
Version data entries
11 entries across 11 versions & 1 rubygems