Sha256: b00840aeb85c03ff0eb4eb9ab70012570fe73f4a97628d2f074df4f25c1e9cbb
Contents?: true
Size: 520 Bytes
Versions: 7
Compression:
Stored size: 520 Bytes
Contents
require 'turnip_formatter/printer' module TurnipFormatter module Printer class StepExtraArgs class << self include TurnipFormatter::Printer def print_out(args) return '' if args.nil? 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
7 entries across 7 versions & 1 rubygems