Class: TestOddbApp::StubGalenicGroup

Inherits:
Object
  • Object
show all
Defined in:
test/test_util/oddbapp.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) block_result (readonly)

Returns the value of attribute block_result



138
139
140
# File 'test/test_util/oddbapp.rb', line 138

def block_result
  @block_result
end

- (Object) galenic_form=(value) (writeonly)

Sets the attribute galenic_form

Parameters:

  • value

    the value to set the attribute galenic_form to.



137
138
139
# File 'test/test_util/oddbapp.rb', line 137

def galenic_form=(value)
  @galenic_form = value
end

Instance Method Details

- (Object) each_galenic_form(&block)



139
140
141
# File 'test/test_util/oddbapp.rb', line 139

def each_galenic_form(&block)
  @block_result = block.call(@galenic_form)
end

- (Boolean) empty?

Returns:

  • (Boolean)


142
143
144
# File 'test/test_util/oddbapp.rb', line 142

def empty?
  @galenic_form.nil?
end

- (Object) get_galenic_form(description)



145
146
147
# File 'test/test_util/oddbapp.rb', line 145

def get_galenic_form(description)
  @galenic_form
end