Sha256: 7c89ab56c3f7f02ce2291ba5c16fb4f6daac1915ebc909746d5ada81a8d1e5de

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

module LearnOpen
  module Lessons
    class JupyterLesson < BaseLesson
      def self.detect(lesson)
        dot_learn = Hash(lesson.dot_learn)
        !!dot_learn[:jupyter_notebook]
      end

      def open(environment, editor)
        environment.open_jupyter_lab(self, location, editor)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
learn-open-1.2.22 lib/learn_open/lessons/jupyter_lesson.rb
learn-open-1.2.21 lib/learn_open/lessons/jupyter_lesson.rb