Class: Vernier::StackTableHelpers::Func

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

Instance Attribute Summary

Attributes inherited from BaseType

#idx, #stack_table

Instance Method Summary collapse

Methods inherited from BaseType

#initialize, #inspect

Constructor Details

This class inherits a constructor from Vernier::StackTableHelpers::BaseType

Instance Method Details

#filenameObject



70
71
72
# File 'lib/vernier/stack_table_helpers.rb', line 70

def filename
  stack_table.func_filename(idx)
end

#labelObject Also known as: name



65
66
67
# File 'lib/vernier/stack_table_helpers.rb', line 65

def label
  stack_table.func_name(idx)
end

#to_sObject



74
75
76
# File 'lib/vernier/stack_table_helpers.rb', line 74

def to_s
  "#{name} at #{filename}"
end