module Mumukit::Directives::CommentType::Comment
Public Instance Methods
close_comment()
click to toggle source
# File lib/mumukit/directives/comment_type.rb, line 22 def close_comment Regexp.new Regexp.escape(close) end
comment(code)
click to toggle source
# File lib/mumukit/directives/comment_type.rb, line 14 def comment(code) "#{open}#{code}#{close}" end
open_comment()
click to toggle source
# File lib/mumukit/directives/comment_type.rb, line 18 def open_comment Regexp.new Regexp.escape(open) end