Class: Canopus::Diagnostics::Entry

Inherits:
Data
  • Object
show all
Defined in:
lib/canopus/diagnostics.rb,
sig/diagnostics.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#diagnostic ⇒ Object (readonly)

Returns the value of attribute diagnostic

Returns:

  • (Object) —

    the current value of diagnostic



18
19
20
# File 'lib/canopus/diagnostics.rb', line 18

def diagnostic
  @diagnostic
end

#source ⇒ Object (readonly)

Returns the value of attribute source

Returns:

  • (Object) —

    the current value of source



18
19
20
# File 'lib/canopus/diagnostics.rb', line 18

def source
  @source
end

#uri ⇒ Object (readonly)

Returns the value of attribute uri

Returns:

  • (Object) —

    the current value of uri



18
19
20
# File 'lib/canopus/diagnostics.rb', line 18

def uri
  @uri
end

Class Method Details

.new ⇒ instance

Parameters:

  • source (source)
  • uri (String)
  • diagnostic (Sadr::object)

Returns:

  • (instance)


13
# File 'sig/diagnostics.rbs', line 13

def self.new: (source source, String uri, Sadr::object diagnostic) -> instance