Class: AnnotationGenerator

Inherits:
Object
  • Object
show all
Defined in:
lib/ModelGenerator/AnnotationGenerator.rb

Class Method Summary collapse

Class Method Details

.generate_mark_annotation(content) ⇒ Object



7
8
9
# File 'lib/ModelGenerator/AnnotationGenerator.rb', line 7

def self.generate_mark_annotation(content)
  return "#pragma mark - #{content}\n"
end

.generate_single_annotation(content) ⇒ Object



3
4
5
# File 'lib/ModelGenerator/AnnotationGenerator.rb', line 3

def self.generate_single_annotation(content)
   return "//#{content}\n"
end