Sha256: c1716071ac23bbedef8ee5ed7c546734a9c00867d054ecdba5b98308fb3ee640
Contents?: true
Size: 421 Bytes
Versions: 1
Compression:
Stored size: 421 Bytes
Contents
# order: 200 Feature: Misc Scenario: Operation defines .call shorthand class method Given definition """ruby class Operation < Rung::Operation step {|state| state[:test] = 42 + state[:input] } end """ When I run """ @result1 = Operation.call(input: 1) @result2 = Operation.new.call(input: 1) """ And I can assure that """ @result1.to_h == @result2.to_h """
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rung-0.1 | features/200_misc.feature |