Sha256: d7e7920fd25cd6368583ddc0efdaec472775a247905a6bb31d7ea7fe5c60c8df
Contents?: true
Size: 482 Bytes
Versions: 2
Compression:
Stored size: 482 Bytes
Contents
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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
learn-open-1.2.22 | lib/learn_open/environments/linux_environment.rb |
learn-open-1.2.21 | lib/learn_open/environments/linux_environment.rb |