Sha256: bc8667b91955d143c0f6203b32d7792192ce0e1aaf8521d3c9bf0c7f5671849a

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

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

      def open_jupyter_lab(lesson, location, _editor, _clone_only)
        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.28 lib/learn_open/environments/linux_environment.rb
learn-open-1.2.27 lib/learn_open/environments/linux_environment.rb