class TkrzwRPC::StatusException
Exception to convey the status of operations.
Public Class Methods
new(status)
click to toggle source
Sets the status.
-
@param status The status object.
# File tkrzw_rpc.rb, line 191 def initialize(status) @status = status end
Public Instance Methods
inspect()
click to toggle source
Returns a string representation of the object.
-
@return The string representation of the object.
# File tkrzw_rpc.rb, line 203 def inspect "#<TkrzwRPC::StatusException: " + to_s + ">" end
status()
click to toggle source
Gets the status object
-
@return The status object.
# File tkrzw_rpc.rb, line 209 def status @status end
to_s()
click to toggle source
Returns a string representation of the content.
-
@return The string representation of the content.
# File tkrzw_rpc.rb, line 197 def to_s @status.to_s end