Class: DoubleBuilder::BackendDouble

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#inputsObject

Returns the value of attribute inputs.



171
172
173
# File 'lib/templates/resource_pack/spec/spec_helper.rb', line 171

def inputs
  @inputs
end

#nameObject

Returns the value of attribute name.



171
172
173
# File 'lib/templates/resource_pack/spec/spec_helper.rb', line 171

def name
  @name
end

#outputsObject

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

Returns:

  • (Boolean)


167
168
169
# File 'lib/templates/resource_pack/spec/spec_helper.rb', line 167

def has_inputs?
  inputs != NoInputsSpecifed
end