aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stif
diff options
context:
space:
mode:
authorRobert2017-12-14 17:58:57 +0100
committerRobert2017-12-15 08:31:07 +0100
commit4613f02d52e2d8c9159633b6a45b8d0361759332 (patch)
tree46bba58a87f71169a8b5e2578cfd54c9e4bd2477 /lib/stif
parent0354c84367cede7d738c79e9c0f116b2c0a178b2 (diff)
downloadchouette-core-4613f02d52e2d8c9159633b6a45b8d0361759332.tar.bz2
Refs: #5006@0.7h; CR changes from #5006 & staring error_messages in imports/show
- Renaming as requested STIF::NetexFile::Frame.get_line_object_id -> get_sgort_id - working on error_messages for imports#show
Diffstat (limited to 'lib/stif')
-rw-r--r--lib/stif/netex_file.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stif/netex_file.rb b/lib/stif/netex_file.rb
index db64ed05e..db0801bbe 100644
--- a/lib/stif/netex_file.rb
+++ b/lib/stif/netex_file.rb
@@ -43,7 +43,7 @@ module STIF
class Frame
class << self
- def get_line_object_id file_name
+ def get_short_id file_name
base_name = File.basename(file_name)
STIF::NetexFile::LINE_FILE_FORMAT.match(base_name).try(:[], 'line_object_id')
end