Sha256: be22e9049c3c61aa8a50984a4b779bd9aa48c0b8138d3b26d722e935cf586b98

Contents?: true

Size: 466 Bytes

Versions: 5

Compression:

Stored size: 466 Bytes

Contents

require 'forwardable'

module TurnipFormatter
  module Resource
    class Step
      extend Forwardable
      def_delegators :@raw, :keyword, :text, :line, :argument

      attr_reader :example
      attr_accessor :status

      #
      # @param  [RSpec::Core::Example]  example
      # @param  [Turnip::Node::Step]    raw
      #
      def initialize(example, raw)
        @example = example
        @raw = raw
        @status = :passed
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
turnip_formatter-0.6.0.pre.beta.6 lib/turnip_formatter/resource/step.rb
turnip_formatter-0.6.0.pre.beta.5 lib/turnip_formatter/resource/step.rb
turnip_formatter-0.6.0.pre.beta.4 lib/turnip_formatter/resource/step.rb
turnip_formatter-0.6.0.pre.beta.3 lib/turnip_formatter/resource/step.rb
turnip_formatter-0.6.0.pre.beta.2 lib/turnip_formatter/resource/step.rb