module Mumukit::Directives::CommentType

Public Class Methods

parse(string) click to toggle source
# File lib/mumukit/directives/comment_type.rb, line 2
def self.parse(string)
  case string
    when 'ruby' then
      Ruby
    when 'haskell' then
      Haskell
    else
      Cpp
  end
end