Sha256: a242091c22118db427e30b1a4881602a05c48046ad3ebc72d45a058cce6a0b79

Contents?: true

Size: 198 Bytes

Versions: 5

Compression:

Stored size: 198 Bytes

Contents

require 'tspec'

def say_hello(str)
  puts str
end.receive(st: String) #=> undefined `st' variable name

def echo(val)
  puts val
end.receive(val: String)

echo(3.14) #=> echo need String parameter

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tspec-0.5.0 examples/receive_failed.rb
tspec-0.4.0 examples/receive_failed.rb
tspec-0.3.0 examples/receive_failed.rb
tspec-0.2.0 examples/receive_failed.rb
tspec-0.1.0 examples/receive_failed.rb