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



116
117
118
# File 'lib/necropsy/models.rb', line 116

def description
  @description
end

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



116
117
118
# File 'lib/necropsy/models.rb', line 116

def kind
  @kind
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



116
117
118
# File 'lib/necropsy/models.rb', line 116

def name
  @name
end

#soundnessObject (readonly)

Returns the value of attribute soundness

Returns:

  • (Object)

    the current value of soundness



116
117
118
# File 'lib/necropsy/models.rb', line 116

def soundness
  @soundness
end

Instance Method Details

#to_hObject



117
118
119
120
121
122
123
124
# File 'lib/necropsy/models.rb', line 117

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