Class: Rafflesia::SimulationGromacsPlannedOutput
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SimulationGromacsPlannedOutput
- Defined in:
- lib/rafflesia/simulations/simulation_gromacs_planned_output.rb
Constant Summary collapse
- HASH_ATTRS =
{ command_index: :command_index, format: :format, path: :path, planned_ref: :planned_ref, storage_hint: :storage_hint }.freeze
Instance Attribute Summary collapse
-
#command_index ⇒ Object
Returns the value of attribute command_index.
-
#format ⇒ Object
Returns the value of attribute format.
-
#path ⇒ Object
Returns the value of attribute path.
-
#planned_ref ⇒ Object
Returns the value of attribute planned_ref.
-
#storage_hint ⇒ Object
Returns the value of attribute storage_hint.
Instance Method Summary collapse
-
#initialize(json) ⇒ SimulationGromacsPlannedOutput
constructor
A new instance of SimulationGromacsPlannedOutput.
Constructor Details
#initialize(json) ⇒ SimulationGromacsPlannedOutput
Returns a new instance of SimulationGromacsPlannedOutput.
23 24 25 26 27 28 29 30 31 |
# File 'lib/rafflesia/simulations/simulation_gromacs_planned_output.rb', line 23 def initialize(json) super() hash = self.class.normalize(json) @command_index = hash[:command_index] @format = hash[:format] @path = hash[:path] @planned_ref = hash[:planned_ref] @storage_hint = hash[:storage_hint] end |
Instance Attribute Details
#command_index ⇒ Object
Returns the value of attribute command_index.
16 17 18 |
# File 'lib/rafflesia/simulations/simulation_gromacs_planned_output.rb', line 16 def command_index @command_index end |
#format ⇒ Object
Returns the value of attribute format.
16 17 18 |
# File 'lib/rafflesia/simulations/simulation_gromacs_planned_output.rb', line 16 def format @format end |
#path ⇒ Object
Returns the value of attribute path.
16 17 18 |
# File 'lib/rafflesia/simulations/simulation_gromacs_planned_output.rb', line 16 def path @path end |
#planned_ref ⇒ Object
Returns the value of attribute planned_ref.
16 17 18 |
# File 'lib/rafflesia/simulations/simulation_gromacs_planned_output.rb', line 16 def planned_ref @planned_ref end |
#storage_hint ⇒ Object
Returns the value of attribute storage_hint.
16 17 18 |
# File 'lib/rafflesia/simulations/simulation_gromacs_planned_output.rb', line 16 def storage_hint @storage_hint end |