Class: Vernier::StackTableHelpers::BaseType

Inherits:
Object
  • Object
show all
Defined in:
lib/vernier/stack_table_helpers.rb

Direct Known Subclasses

Frame, Func, Stack

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stack_table, idx) ⇒ BaseType

Returns a new instance of BaseType.



54
55
56
57
# File 'lib/vernier/stack_table_helpers.rb', line 54

def initialize(stack_table, idx)
  @stack_table = stack_table
  @idx = idx
end

Instance Attribute Details

#idxObject (readonly)

Returns the value of attribute idx.



53
54
55
# File 'lib/vernier/stack_table_helpers.rb', line 53

def idx
  @idx
end

#stack_tableObject (readonly)

Returns the value of attribute stack_table.



53
54
55
# File 'lib/vernier/stack_table_helpers.rb', line 53

def stack_table
  @stack_table
end

Instance Method Details

#inspectObject



59
60
61
# File 'lib/vernier/stack_table_helpers.rb', line 59

def inspect
  "#<#{self.class}\n#{to_s}>"
end