Class: DoubleBuilder::BackendDouble
- Inherits:
-
Object
- Object
- DoubleBuilder::BackendDouble
- Defined in:
- lib/templates/resource_pack/spec/spec_helper.rb
Overview
Create a object to hold the backend doubling information
Defined Under Namespace
Classes: NoInputsSpecifed
Instance Attribute Summary collapse
-
#inputs ⇒ Object
Returns the value of attribute inputs.
-
#name ⇒ Object
Returns the value of attribute name.
-
#outputs ⇒ Object
Returns the value of attribute outputs.
Instance Method Summary collapse
- #has_inputs? ⇒ Boolean
-
#initialize(name) ⇒ BackendDouble
constructor
A new instance of BackendDouble.
Constructor Details
#initialize(name) ⇒ BackendDouble
Returns a new instance of BackendDouble.
162 163 164 165 |
# File 'lib/templates/resource_pack/spec/spec_helper.rb', line 162 def initialize(name) @name = name @inputs = NoInputsSpecifed end |
Instance Attribute Details
#inputs ⇒ Object
Returns the value of attribute inputs.
171 172 173 |
# File 'lib/templates/resource_pack/spec/spec_helper.rb', line 171 def inputs @inputs end |
#name ⇒ Object
Returns the value of attribute name.
171 172 173 |
# File 'lib/templates/resource_pack/spec/spec_helper.rb', line 171 def name @name end |
#outputs ⇒ Object
Returns the value of attribute outputs.
171 172 173 |
# File 'lib/templates/resource_pack/spec/spec_helper.rb', line 171 def outputs @outputs end |
Instance Method Details
#has_inputs? ⇒ Boolean
167 168 169 |
# File 'lib/templates/resource_pack/spec/spec_helper.rb', line 167 def has_inputs? inputs != NoInputsSpecifed end |