Class: Studio::CSVAccess

Inherits:
Object show all
Defined in:
scripts/00800 Studio/00001 Data/00081 WorldMap.rb

Overview

Data class describing a CSV access

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#file_idInteger (readonly)

ID of the csv file

Returns:



35
36
37
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 35

def file_id
  @file_id
end

#text_indexInteger (readonly)

Index of the text in CSV file

Returns:



39
40
41
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 39

def text_index
  @text_index
end

Instance Method Details

#getString

Get the text

Returns:



43
44
45
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 43

def get
  text_get(@file_id, @text_index)
end