mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove space in #to_s between symbolic items
This makes example names look more like documentation by changing names like "Array #size is zero" to "Array#size is zero".
This commit is contained in:
parent
8339784492
commit
f6a4e6f558
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ module Spectator
|
|||
# The string can be given to end-users to identify the example.
|
||||
def to_s(io)
|
||||
@group.to_s(io)
|
||||
io << ' '
|
||||
io << ' ' unless symbolic? && @group.symbolic?
|
||||
io << what
|
||||
end
|
||||
end
|
||||
|
|
|
@ -106,7 +106,7 @@ module Spectator
|
|||
# ```
|
||||
def to_s(io)
|
||||
parent.to_s(io)
|
||||
io << ' '
|
||||
io << ' ' unless symbolic? && parent.symbolic?
|
||||
io << what
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue