mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Removed excess spaces
This commit is contained in:
parent
566e6b0546
commit
e9bce55c12
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ end
|
||||||
class TestEmojiBreaks::BreakTest
|
class TestEmojiBreaks::BreakTest
|
||||||
attr_reader :string, :comment, :filename, :line_number, :type, :shortname
|
attr_reader :string, :comment, :filename, :line_number, :type, :shortname
|
||||||
|
|
||||||
def initialize (filename, line_number, data, comment='')
|
def initialize(filename, line_number, data, comment='')
|
||||||
@filename = filename
|
@filename = filename
|
||||||
@line_number = line_number
|
@line_number = line_number
|
||||||
@comment = comment.gsub(/\s+/, ' ').strip
|
@comment = comment.gsub(/\s+/, ' ').strip
|
||||||
|
|
|
@ -9,7 +9,7 @@ end
|
||||||
class TestGraphemeBreaksFromFile::BreakTest
|
class TestGraphemeBreaksFromFile::BreakTest
|
||||||
attr_reader :clusters, :string, :comment, :line_number
|
attr_reader :clusters, :string, :comment, :line_number
|
||||||
|
|
||||||
def initialize (line_number, data, comment)
|
def initialize(line_number, data, comment)
|
||||||
@line_number = line_number
|
@line_number = line_number
|
||||||
@comment = comment
|
@comment = comment
|
||||||
@clusters = data.sub(/\A\s*÷\s*/, '')
|
@clusters = data.sub(/\A\s*÷\s*/, '')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue