Fix some whitespaces and return at EOF
This commit is contained in:
parent
14fbd23852
commit
b8cb251ef8
|
@ -44,4 +44,4 @@ module Rubella
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -33,9 +33,9 @@ module Rubella
|
||||||
[" ", " ", "░", "░", "▒", "▒", "▓", "▓", "█", "█"]
|
[" ", " ", "░", "░", "▒", "▒", "▓", "▓", "█", "█"]
|
||||||
@symbols["shades_ascii"] =
|
@symbols["shades_ascii"] =
|
||||||
[" ", "·", "⚬", "∞", "@", "#", "░", "▒", "▓", "█"]
|
[" ", "·", "⚬", "∞", "@", "#", "░", "▒", "▓", "█"]
|
||||||
@symbols["ascii"] =
|
@symbols["ascii"] =
|
||||||
[" ", "·", ",", ";", "o", "O", "%", "8", "@", "#"]
|
[" ", "·", ",", ";", "o", "O", "%", "8", "@", "#"]
|
||||||
@symbols["numbers"] =
|
@symbols["numbers"] =
|
||||||
[" ", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
[" ", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
||||||
|
|
||||||
self.used_symbols = "shades_ascii"
|
self.used_symbols = "shades_ascii"
|
||||||
|
|
|
@ -13,4 +13,4 @@ describe Rubella::Input::Base, '.each' do
|
||||||
expect(sum).to eq(12)
|
expect(sum).to eq(12)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -14,4 +14,4 @@ describe Rubella::Input::Base, '.new' do
|
||||||
expect(input.data).to eq(54)
|
expect(input.data).to eq(54)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -13,4 +13,4 @@ describe Rubella::Input::JSON, '.each' do
|
||||||
expect(sum).to eq(12)
|
expect(sum).to eq(12)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -54,4 +54,3 @@ end
|
||||||
class Rubella::Output::AsciiImplementation < Rubella::Output::Base
|
class Rubella::Output::AsciiImplementation < Rubella::Output::Base
|
||||||
attr_reader :data
|
attr_reader :data
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -8,4 +8,4 @@ describe Rubella::Storage, '.data' do
|
||||||
expect(storage.data).to eq([3, 4, 5])
|
expect(storage.data).to eq([3, 4, 5])
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -40,4 +40,4 @@ describe Rubella::Storage, '.new' do
|
||||||
expect(storage.data.length).to eq(2)
|
expect(storage.data.length).to eq(2)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -58,4 +58,4 @@ describe Rubella::Weighting::PerCount, '.parse' do
|
||||||
expect(storage.data[0][0]).to eq(0.0)
|
expect(storage.data[0][0]).to eq(0.0)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue