Sha256: 960a9494ebf359cc1f5f447f7390967e1dde9ab5b6cdbc072cb8b847cad6f132

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

module LearnOpen
  module Lessons
    class IosLesson < BaseLesson
      def self.detect(lesson)
        languages = Hash(lesson.dot_learn)[:languages]
        (languages & ["swift", "objc"]).any?
      end

      def open(environment, editor)
        environment.open_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/ios_lesson.rb
learn-open-1.2.21 lib/learn_open/lessons/ios_lesson.rb