add Socket::Option#inspect

without this, mirb dies.
https://github.com/mruby/mruby/pull/2666
This commit is contained in:
Tomoyuki Sahara
2014-12-12 12:38:43 +09:00
parent 093f4e2cff
commit 723db886e1
+1 -1
View File
@@ -557,7 +557,7 @@ class Socket
end
def inspect
# notyet
"#<Socket::Option: family:#{@family} level:#{@level} optname:#{@optname} #{@data.inspect}>"
end
def int