Class: Rafflesia::SimulationRuntimeGromacsProbe
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SimulationRuntimeGromacsProbe
- Defined in:
- lib/rafflesia/simulations/simulation_runtime_gromacs_probe.rb
Constant Summary collapse
- HASH_ATTRS =
{ error: :error, executable: :executable, is_available: :is_available, resolved_from: :resolved_from, supported_subcommands: :supported_subcommands, 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.
-
#resolved_from ⇒ Object
Returns the value of attribute resolved_from.
-
#supported_subcommands ⇒ Object
Returns the value of attribute supported_subcommands.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ SimulationRuntimeGromacsProbe
constructor
A new instance of SimulationRuntimeGromacsProbe.
Constructor Details
#initialize(json) ⇒ SimulationRuntimeGromacsProbe
Returns a new instance of SimulationRuntimeGromacsProbe.
25 26 27 28 29 30 31 32 33 34 |
# File 'lib/rafflesia/simulations/simulation_runtime_gromacs_probe.rb', line 25 def initialize(json) super() hash = self.class.normalize(json) @error = hash[:error] @executable = hash[:executable] @is_available = hash[:is_available] @resolved_from = hash[:resolved_from] @supported_subcommands = (hash[:supported_subcommands] || []) @version = hash[:version] end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
17 18 19 |
# File 'lib/rafflesia/simulations/simulation_runtime_gromacs_probe.rb', line 17 def error @error end |
#executable ⇒ Object
Returns the value of attribute executable.
17 18 19 |
# File 'lib/rafflesia/simulations/simulation_runtime_gromacs_probe.rb', line 17 def executable @executable end |
#is_available ⇒ Object
Returns the value of attribute is_available.
17 18 19 |
# File 'lib/rafflesia/simulations/simulation_runtime_gromacs_probe.rb', line 17 def is_available @is_available end |
#resolved_from ⇒ Object
Returns the value of attribute resolved_from.
17 18 19 |
# File 'lib/rafflesia/simulations/simulation_runtime_gromacs_probe.rb', line 17 def resolved_from @resolved_from end |
#supported_subcommands ⇒ Object
Returns the value of attribute supported_subcommands.
17 18 19 |
# File 'lib/rafflesia/simulations/simulation_runtime_gromacs_probe.rb', line 17 def supported_subcommands @supported_subcommands end |
#version ⇒ Object
Returns the value of attribute version.
17 18 19 |
# File 'lib/rafflesia/simulations/simulation_runtime_gromacs_probe.rb', line 17 def version @version end |