class RubyBreaker::TypeDefs::MethodType

This class represents a method and is essentially same as block type except the method name.

Attributes

meth_name[RW]

This accessor sets/gets the method name for this method type.

Public Class Methods

new(meth_name,arg_types=[],blk_type=nil,ret_type=nil,*args) click to toggle source
# File lib/rubybreaker/type/type.rb, line 180
def initialize(meth_name,arg_types=[],blk_type=nil,ret_type=nil,*args)
  super(arg_types,blk_type,ret_type,*args)
  @meth_name = meth_name.to_sym
end