Sha256: c1adacfce067a8a418a0b80f525f8c29503b805bfc30e54f443237ae67ca7320
Contents?: true
Size: 508 Bytes
Versions: 5
Compression:
Stored size: 508 Bytes
Contents
require 'forwardable' module TurnipFormatter class Step extend Forwardable attr_reader :name, :example, :extra_args attr_accessor :status def_delegators :@raw, :extra_args, :line, :keyword, :description # # @param [RSpec::Core::Example] example # @param [Turnip::Builder::Step] raw # def initialize(example, raw) @example = example @raw = raw @name = raw.keyword.strip + ' ' + raw.description @status = :passed end end end
Version data entries
5 entries across 5 versions & 1 rubygems