Sha256: ca4556e57462ee22a4138bd6ee85d3b8d451e156dfc29fb1392d3d0682ae4474

Contents?: true

Size: 349 Bytes

Versions: 5

Compression:

Stored size: 349 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, clone_only)
        environment.open_lab(self, location, editor, clone_only)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
learn-open-1.2.28 lib/learn_open/lessons/ios_lesson.rb
learn-open-1.2.27 lib/learn_open/lessons/ios_lesson.rb
learn-open-1.2.26 lib/learn_open/lessons/ios_lesson.rb
learn-open-1.2.24 lib/learn_open/lessons/ios_lesson.rb
learn-open-1.2.23 lib/learn_open/lessons/ios_lesson.rb