class LanguageServer::Protocol::Interface::ExecutionSummary
Attributes
attributes[R]
Public Class Methods
new(execution_order:, success: nil)
click to toggle source
# File lib/language_server/protocol/interface/execution_summary.rb, line 5 def initialize(execution_order:, success: nil) @attributes = {} @attributes[:executionOrder] = execution_order @attributes[:success] = success if success @attributes.freeze end
Public Instance Methods
execution_order()
click to toggle source
A strict monotonically increasing value indicating the execution order of a cell inside a notebook.
@return [number]
# File lib/language_server/protocol/interface/execution_summary.rb, line 20 def execution_order attributes.fetch(:executionOrder) end
success()
click to toggle source
Whether the execution was successful or not if known by the client.
@return [boolean]
# File lib/language_server/protocol/interface/execution_summary.rb, line 29 def success attributes.fetch(:success) end
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/execution_summary.rb, line 35 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/execution_summary.rb, line 39 def to_json(*args) to_hash.to_json(*args) end