Class: Necropsy::AnalyzerProfile

Inherits:
Data
  • Object
show all
Defined in:
lib/necropsy/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#descriptionObject (readonly)

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



124
125
126
# File 'lib/necropsy/models.rb', line 124

def description
  @description
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



124
125
126
# File 'lib/necropsy/models.rb', line 124

def kind
  @kind
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



124
125
126
# File 'lib/necropsy/models.rb', line 124

def name
  @name
end

#soundnessObject (readonly)

Returns the value of attribute soundness

Returns:

  • (Object)

    the current value of soundness



124
125
126
# File 'lib/necropsy/models.rb', line 124

def soundness
  @soundness
end

Instance Method Details

#to_hObject



125
126
127
128
129
130
131
132
# File 'lib/necropsy/models.rb', line 125

def to_h
  {
    'name' => name.to_s,
    'kind' => kind.to_s,
    'soundness' => soundness.to_s,
    'description' => description
  }
end