Sha256: 08b11e605194185684b7a6c1828c9bef0f822be8d4aea41a085b3f6ea2ceb9c5

Contents?: true

Size: 214 Bytes

Versions: 54

Compression:

Stored size: 214 Bytes

Contents

module A
  # @implements A

  def count
    if block_given?
      n = 0

      each do |_|
        n = n + 1
      end

      n
    else
      0
    end
  end

  # ok
  block_given?

  no_such_method_in_module
end

Version data entries

54 entries across 54 versions & 1 rubygems

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