Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (16 sloc) 0.405 kB
class Fancy {
class MessageSink : Fancy BasicObject {
"""
A MessageSink just swallows all messages that are sent to it.
"""
def unknown_message: m with_params: p {
"""
@m Message sent to @self.
@p @Array@ of parameters sent along with @m.
@return @self.
Catches all messages and arguments and simply always returns @self.
"""
self
}
}
}
Jump to Line
Something went wrong with that request. Please try again.