No need to type restrict io method

This commit is contained in:
Michael Miller 2021-05-16 19:47:07 -06:00
parent 1e3e0daa04
commit aa13b077f3
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ module Spectator::Formatting
@skip_char : Colorize::Object(Char) = '*'.colorize(:yellow) @skip_char : Colorize::Object(Char) = '*'.colorize(:yellow)
# Output stream to write results to. # Output stream to write results to.
private getter io : IO private getter io
# Creates the formatter. # Creates the formatter.
def initialize(@io : IO = STDOUT) def initialize(@io : IO = STDOUT)

View file

@ -9,7 +9,7 @@ module Spectator::Formatting
# Classes including this module must implement `#io`. # Classes including this module must implement `#io`.
module Summary module Summary
# Stream to write results to. # Stream to write results to.
private abstract def io : IO private abstract def io
def start_dump def start_dump
io.puts io.puts