Class: Studio::CSVAccess
- Defined in:
- scripts/00800 Studio/00001 Data/00081 WorldMap.rb
Overview
Data class describing a CSV access
Instance Attribute Summary collapse
-
#file_id ⇒ Integer
readonly
ID of the csv file.
-
#text_index ⇒ Integer
readonly
Index of the text in CSV file.
Instance Method Summary collapse
-
#get ⇒ String
Get the text.
Instance Attribute Details
#file_id ⇒ Integer (readonly)
ID of the csv file
35 36 37 |
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 35 def file_id @file_id end |
#text_index ⇒ Integer (readonly)
Index of the text in CSV file
39 40 41 |
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 39 def text_index @text_index end |
Instance Method Details
#get ⇒ String
Get the text
43 44 45 |
# File 'scripts/00800 Studio/00001 Data/00081 WorldMap.rb', line 43 def get text_get(@file_id, @text_index) end |