Sha256: b63e9dffe1b90f7935235ad99ecef3ef9a8c6cdc81e2df09989b2dfdc84f00e5

Contents?: true

Size: 172 Bytes

Versions: 5

Compression:

Stored size: 172 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_pretty.rb
ruby-beautify-0.97.3 spec/usage_scenarios/case_pretty.rb
ruby-beautify-0.97.2 spec/usage_scenarios/case_pretty.rb
ruby-beautify-0.97.1 spec/usage_scenarios/case_pretty.rb
ruby-beautify-0.97.0 spec/usage_scenarios/case_pretty.rb