Sha256: af48ddf900440cee5dc2822a332dd22b2b33394ed8835cd53902d1773ad29160

Contents?: true

Size: 471 Bytes

Versions: 2

Compression:

Stored size: 471 Bytes

Contents

module TurnipFormatter
  module Resource
    class Hook
      attr_reader :example
      attr_reader :keyword
      attr_reader :status

      #
      # @param  [RSpec::Core::Example]  example
      #
      def initialize(example, keyword, status)
        @example = example
        @keyword = keyword
        @status = status
      end

      def text
        ''
      end

      def line
        -1
      end

      def argument
        nil
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
turnip_formatter-0.6.0.pre.beta.6 lib/turnip_formatter/resource/hook.rb
turnip_formatter-0.6.0.pre.beta.5 lib/turnip_formatter/resource/hook.rb