Class: MessagePack::IDL::Evaluator::InheritMarkWithCheck

Inherits:
InheritMark
  • Object
show all
Defined in:
lib/msgpack/idl/evaluator.rb

Instance Attribute Summary collapse

Attributes inherited from InheritMark

#ast, #name

Instance Method Summary collapse

Constructor Details

#initialize(ast, func) ⇒ InheritMarkWithCheck

Returns a new instance of InheritMarkWithCheck.



77
78
79
80
# File 'lib/msgpack/idl/evaluator.rb', line 77

def initialize(ast, func)
	super(ast, func.name)
	@func = func
end

Instance Attribute Details

#funcObject (readonly)

Returns the value of attribute func.



81
82
83
# File 'lib/msgpack/idl/evaluator.rb', line 81

def func
  @func
end