Sha256: 9674b5b40e11f793734c88800f8c2465e95599db467922712056c621fde5e05a

Contents?: true

Size: 110 Bytes

Versions: 12

Compression:

Stored size: 110 Bytes

Contents

require 'nodewrap'

Marshal.load($stdin)

t = M::Triangle.new(3, 4, 5)
puts "The area of #{t} is: #{t.area}"

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
ruby-internal-0.8.5 example/triangle_client.rb
ruby-internal-0.8.4 example/triangle_client.rb
ruby-internal-0.8.3 example/triangle_client.rb
ruby-internal-0.8.2 example/triangle_client.rb
ruby-internal-0.8.1 example/triangle_client.rb
ruby-internal-0.8.0 example/triangle_client.rb
ruby-internal-0.7.3 example/triangle_client.rb
ruby-internal-0.7.2 example/triangle_client.rb
ruby-internal-0.7.1 example/triangle_client.rb
ruby-internal-0.7.0 example/triangle_client.rb
ruby-internal-0.6.0 example/triangle_client.rb
nodewrap-0.5.0 example/triangle_client.rb