Remove Apple unnecessary empty lines
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
This commit is contained in:
parent
89dd0a6b35
commit
9ed9c04c53
1 changed files with 8 additions and 3 deletions
|
@ -65,16 +65,21 @@ module Twine
|
|||
end
|
||||
end
|
||||
|
||||
def format_file(lang)
|
||||
result = super
|
||||
result += "\n"
|
||||
end
|
||||
|
||||
def format_section_header(section)
|
||||
"/********** #{section.name} **********/\n"
|
||||
"\n/********** #{section.name} **********/\n"
|
||||
end
|
||||
|
||||
def key_value_pattern
|
||||
"\"%{key}\" = \"%{value}\";\n"
|
||||
"\"%{key}\" = \"%{value}\";"
|
||||
end
|
||||
|
||||
def format_comment(definition, lang)
|
||||
"/* #{definition.comment.gsub('*/', '* /')} */\n" if definition.comment
|
||||
"\n/* #{definition.comment.gsub('*/', '* /')} */\n" if definition.comment
|
||||
end
|
||||
|
||||
def format_key(key)
|
||||
|
|
Reference in a new issue