mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
No need to type restrict io method
This commit is contained in:
parent
1e3e0daa04
commit
aa13b077f3
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ module Spectator::Formatting
|
|||
@skip_char : Colorize::Object(Char) = '*'.colorize(:yellow)
|
||||
|
||||
# Output stream to write results to.
|
||||
private getter io : IO
|
||||
private getter io
|
||||
|
||||
# Creates the formatter.
|
||||
def initialize(@io : IO = STDOUT)
|
||||
|
|
|
@ -9,7 +9,7 @@ module Spectator::Formatting
|
|||
# Classes including this module must implement `#io`.
|
||||
module Summary
|
||||
# Stream to write results to.
|
||||
private abstract def io : IO
|
||||
private abstract def io
|
||||
|
||||
def start_dump
|
||||
io.puts
|
||||
|
|
Loading…
Reference in a new issue