Sha256: a8d8354919b857100bbcf0226f9a7ed9844675808015d9e1df06756813b14f04

Contents?: true

Size: 556 Bytes

Versions: 9

Compression:

Stored size: 556 Bytes

Contents

title 'Score test'

question :v_1, type: :integer

score :test, label: 'Testscore',
      schema: [{key: :value, export_key: :tes, label: 'Waarde'},
               {key: :interpretation, export_key: :tes_i, label: 'Interpretatie'}] do
  {value: value(:v_1),
   interpretation: 'Matig'}
end

score :test2, label: 'Testscore 2',
      schema: [{key: :value, export_key: :tes2, label: 'Waarde'},
               {key: :interpretation, export_key: :tes2_i, label: 'Interpretatie'}] do
  {value: values_with_nils(:v_1).first + 5,
   interpretation: 'Miniem'}
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
quby-4.0.4 spec/fixtures/score_test.rb
quby-5.0.0.pre4 spec/fixtures/score_test.rb
quby-5.0.0.pre3 spec/fixtures/score_test.rb
quby-5.0.0.pre2 spec/fixtures/score_test.rb
quby-5.0.0.pre1 spec/fixtures/score_test.rb
quby-4.0.3 spec/fixtures/score_test.rb
quby-4.0.2 spec/fixtures/score_test.rb
quby-4.0.1 spec/fixtures/score_test.rb
quby-4.0.0 spec/fixtures/score_test.rb