Method: Roby::Application#log_read_metadata
- Defined in:
- lib/roby/app.rb
#log_read_metadata ⇒ Object
Read the time tag from the current log directory
1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 |
# File 'lib/roby/app.rb', line 1680 def dir = begin log_current_dir rescue ArgumentError # rubocop:disable Lint/SuppressedException end if dir && File.exist?(File.join(dir, "info.yml")) YAML.safe_load(File.read(File.join(dir, "info.yml"))) else [] end end |