class TypeProf::Core::Type::Proc - typeprof: Ruby Standard Library Documentation

# class TypeProf::Core::Type::Proc

### Attributes

block[R]

### Public Class Methods

new(genv, block) click to toggle source

    # File typeprof-0.30.1/lib/typeprof/core/type.rb, line 265
    def initialize(genv, block)
      @block = block
    end

### Public Instance Methods

base_type(genv) click to toggle source

    # File typeprof-0.30.1/lib/typeprof/core/type.rb, line 271
    def base_type(genv)
      genv.proc_type
    end

check_match(genv, changes, vtx) click to toggle source

    # File typeprof-0.30.1/lib/typeprof/core/type.rb, line 275
    def check_match(genv, changes, vtx)
      genv.proc_type.check_match(genv, changes, vtx)
    end

show() click to toggle source

    # File typeprof-0.30.1/lib/typeprof/core/type.rb, line 279
    def show
      "<Proc>"
    end