Module: Mumukit::Directives::CommentType::Cpp

Extended by:
Comment
Defined in:
lib/mumukit/directives/comment_type.rb

Class Method Summary collapse

Methods included from Comment

close_comment, comment, open_comment

Class Method Details

.closeObject



35
36
37
# File 'lib/mumukit/directives/comment_type.rb', line 35

def self.close
  '*/'
end

.openObject



31
32
33
# File 'lib/mumukit/directives/comment_type.rb', line 31

def self.open
  '/*'
end

.to_sObject



39
40
41
# File 'lib/mumukit/directives/comment_type.rb', line 39

def self.to_s
  'cpp'
end