module LearnOpen module Environments class LinuxEnvironment < BaseEnvironment def open_readme(lesson) warn_if_necessary(lesson) io.puts "Opening readme..." system_adapter.run_command("xdg-open #{lesson.to_url}") end def open_jupyter_lab(lesson, location, editor) warn_if_necessary(lesson) io.puts "Opening Jupyter Lesson..." system_adapter.run_command("xdg-open #{lesson.to_url}") end end end end