class TypedRb::Types::TyDynamicFunction
Public Class Methods
new(klass, message, with_block = true, node = nil)
click to toggle source
Calls superclass method
# File lib/typed/types/ty_dynamic.rb, line 16 def initialize(klass, message, with_block = true, node = nil) super([], TyDynamic.new(Object, node), nil, node) @klass = klass @message = message @arity = Float::INFINITY @block_type = TyDynamicFunction.new(Proc, :cal, false) if with_block end
Public Instance Methods
arg_compatible?(_)
click to toggle source
# File lib/typed/types/ty_dynamic.rb, line 28 def arg_compatible?(_) true end
check_args_application()
click to toggle source
# File lib/typed/types/ty_dynamic.rb, line 32 def check_args_application; end
compatible?(_other_type, _relation = :lt)
click to toggle source
# File lib/typed/types/ty_dynamic.rb, line 34 def compatible?(_other_type, _relation = :lt) true end
dynamic?()
click to toggle source
# File lib/typed/types/ty_dynamic.rb, line 24 def dynamic? true end