mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Better string representation of method call
This commit is contained in:
parent
20087f1c57
commit
94872a498d
1 changed files with 5 additions and 0 deletions
|
@ -19,5 +19,10 @@ module Spectator
|
||||||
arguments = Arguments.new(args, kwargs)
|
arguments = Arguments.new(args, kwargs)
|
||||||
new(method, arguments)
|
new(method, arguments)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Constructs a string containing the method name and arguments.
|
||||||
|
def to_s(io : IO) : Nil
|
||||||
|
io << '#' << method << arguments
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue