Sha256: ec73941aee89fce971c94aeb6ba3e6f85e4a5dfcd1f873be83c22339bec1769c

Contents?: true

Size: 161 Bytes

Versions: 5

Compression:

Stored size: 161 Bytes

Contents

# Test to validate case statements
def case_test opts=nil
case test_case
when 'Passing'
call(:pass)
when 'Failing'
call(:fail)
when 'Error'
call(:error)
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-beautify-0.97.4 spec/usage_scenarios/case.rb
ruby-beautify-0.97.3 spec/usage_scenarios/case.rb
ruby-beautify-0.97.2 spec/usage_scenarios/case.rb
ruby-beautify-0.97.1 spec/usage_scenarios/case.rb
ruby-beautify-0.97.0 spec/usage_scenarios/case.rb