Closed straight-shoota closed 6 years ago
The instance variable @slice shouldn't be exposed directly. There is already #to_slice which implements a more natural interface, similar to other Crystal types.
@slice
#to_slice
The instance variable
@slice
shouldn't be exposed directly. There is already#to_slice
which implements a more natural interface, similar to other Crystal types.