Sha256: 82631b093c114c81ab10479956fd6a274d9cf074c424e79e1e2c78c237bbd6e1
Contents?: true
Size: 486 Bytes
Versions: 10
Compression:
Stored size: 486 Bytes
Contents
require 'turnip_formatter/printer' module TurnipFormatter module Printer class StepExtraArgs class << self include TurnipFormatter::Printer def print_out(args) args.map do |arg| if arg.instance_of?(Turnip::Table) render_template(:step_outline, { table: arg.to_a }) else render_template(:step_multiline, { lines: arg }) end end.join end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems