class IdentifierTable

Attributes

data[R]

Public Class Methods

new() click to toggle source
# File lib/pry-globs/identifier_table.rb, line 4
def initialize
  @data = load_identifier_table
end

Private Instance Methods

identifier_data_file_path() click to toggle source
# File lib/pry-globs/identifier_table.rb, line 14
def identifier_data_file_path
  File.expand_path('../../support/identifier_data.yaml', __FILE__)
end
load_identifier_table() click to toggle source
# File lib/pry-globs/identifier_table.rb, line 10
def load_identifier_table
  YAML.load_file(identifier_data_file_path)
end