Sha256: 266f69badb85b49b2b7dc2e5485dd3250bf4e1ad3022a59d078dd7f34e4c4440

Contents?: true

Size: 148 Bytes

Versions: 47

Compression:

Stored size: 148 Bytes

Contents

class OptionalBlock
  def optional_block
    yield
    30
  end
end

OptionalBlock.new.optional_block()
OptionalBlock.new.optional_block() { :foo }

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
steep-1.6.0 smoke/block/c.rb
steep-1.6.0.pre.4 smoke/block/c.rb
steep-1.6.0.pre.3 smoke/block/c.rb
steep-1.6.0.pre.2 smoke/block/c.rb
steep-1.6.0.pre.1 smoke/block/c.rb
steep-1.5.3 smoke/block/c.rb
steep-1.5.2 smoke/block/c.rb
steep-1.5.1 smoke/block/c.rb
steep-1.5.0 smoke/block/c.rb
steep-1.5.0.pre.6 smoke/block/c.rb
steep-1.5.0.pre.5 smoke/block/c.rb
steep-1.5.0.pre.4 smoke/block/c.rb
steep-1.5.0.pre.3 smoke/block/c.rb
steep-1.5.0.pre.2 smoke/block/c.rb
steep-1.5.0.pre.1 smoke/block/c.rb
steep-1.4.0 smoke/block/c.rb
steep-1.4.0.dev.5 smoke/block/c.rb
steep-1.4.0.dev.4 smoke/block/c.rb
steep-1.4.0.dev.3 smoke/block/c.rb
steep-1.3.2 smoke/block/c.rb