Class: Vernier::StackTableHelpers::BaseType
- Inherits:
-
Object
- Object
- Vernier::StackTableHelpers::BaseType
- Defined in:
- lib/vernier/stack_table_helpers.rb
Instance Attribute Summary collapse
-
#idx ⇒ Object
readonly
Returns the value of attribute idx.
-
#stack_table ⇒ Object
readonly
Returns the value of attribute stack_table.
Instance Method Summary collapse
-
#initialize(stack_table, idx) ⇒ BaseType
constructor
A new instance of BaseType.
- #inspect ⇒ Object
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
#idx ⇒ Object (readonly)
Returns the value of attribute idx.
53 54 55 |
# File 'lib/vernier/stack_table_helpers.rb', line 53 def idx @idx end |
#stack_table ⇒ Object (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
#inspect ⇒ Object
59 60 61 |
# File 'lib/vernier/stack_table_helpers.rb', line 59 def inspect "#<#{self.class}\n#{to_s}>" end |