Class: Rafflesia::SimulationRuntimePythonProbe
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SimulationRuntimePythonProbe
- Defined in:
- lib/rafflesia/simulations/simulation_runtime_python_probe.rb
Constant Summary collapse
- HASH_ATTRS =
{ error: :error, executable: :executable, is_available: :is_available, mdanalysis_available: :mdanalysis_available, mdanalysis_version: :mdanalysis_version, resolved_from: :resolved_from, runtime_manifest_path: :runtime_manifest_path, version: :version }.freeze
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#executable ⇒ Object
Returns the value of attribute executable.
-
#is_available ⇒ Object
Returns the value of attribute is_available.
-
#mdanalysis_available ⇒ Object
Returns the value of attribute mdanalysis_available.
-
#mdanalysis_version ⇒ Object
Returns the value of attribute mdanalysis_version.
-
#resolved_from ⇒ Object
Returns the value of attribute resolved_from.
-
#runtime_manifest_path ⇒ Object
Returns the value of attribute runtime_manifest_path.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ SimulationRuntimePythonProbe
constructor
A new instance of SimulationRuntimePythonProbe.
Constructor Details
#initialize(json) ⇒ SimulationRuntimePythonProbe
Returns a new instance of SimulationRuntimePythonProbe.
29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 29 def initialize(json) super() hash = self.class.normalize(json) @error = hash[:error] @executable = hash[:executable] @is_available = hash[:is_available] @mdanalysis_available = hash[:mdanalysis_available] @mdanalysis_version = hash[:mdanalysis_version] @resolved_from = hash[:resolved_from] @runtime_manifest_path = hash[:runtime_manifest_path] @version = hash[:version] end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19 def error @error end |
#executable ⇒ Object
Returns the value of attribute executable.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19 def executable @executable end |
#is_available ⇒ Object
Returns the value of attribute is_available.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19 def is_available @is_available end |
#mdanalysis_available ⇒ Object
Returns the value of attribute mdanalysis_available.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19 def mdanalysis_available @mdanalysis_available end |
#mdanalysis_version ⇒ Object
Returns the value of attribute mdanalysis_version.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19 def mdanalysis_version @mdanalysis_version end |
#resolved_from ⇒ Object
Returns the value of attribute resolved_from.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19 def resolved_from @resolved_from end |
#runtime_manifest_path ⇒ Object
Returns the value of attribute runtime_manifest_path.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19 def runtime_manifest_path @runtime_manifest_path end |
#version ⇒ Object
Returns the value of attribute version.
19 20 21 |
# File 'lib/rafflesia/simulations/simulation_runtime_python_probe.rb', line 19 def version @version end |