Class: RBS::Test::CallTrace

Inherits:
Struct
  • Object
show all
Defined in:
lib/rbs/test.rb,
sig/test.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCallTrace

Returns a new instance of CallTrace.

Parameters:



73
# File 'sig/test.rbs', line 73

def initialize: (method_name: Symbol, method_call: ArgumentsReturn, block_calls: Array[ArgumentsReturn], block_given: bool) -> void

Instance Attribute Details

#block_callsObject

Returns the value of attribute block_calls

Returns:

  • (Object)

    the current value of block_calls



74
75
76
# File 'lib/rbs/test.rb', line 74

def block_calls
  @block_calls
end

#block_givenObject

Returns the value of attribute block_given

Returns:

  • (Object)

    the current value of block_given



74
75
76
# File 'lib/rbs/test.rb', line 74

def block_given
  @block_given
end

#method_callObject

Returns the value of attribute method_call

Returns:

  • (Object)

    the current value of method_call



74
75
76
# File 'lib/rbs/test.rb', line 74

def method_call
  @method_call
end

#method_nameObject

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



74
75
76
# File 'lib/rbs/test.rb', line 74

def method_name
  @method_name
end