Sha256: 21b6cf4ac40095b53758d997a3b175713e278b34a0c36d02fb725766964ec320

Contents?: true

Size: 388 Bytes

Versions: 10

Compression:

Stored size: 388 Bytes

Contents

module CucumberAnalytics

  # A mix-in module containing methods used by elements that know their
  # source code line.

  module Sourceable

    # The line number where the element began in the source code
    attr_reader :source_line


    private


    def populate_element_source_line(parsed_element)
      @source_line = parsed_element['line']
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cucumber_analytics-1.6.0 lib/cucumber_analytics/sourceable.rb
cucumber_analytics-1.5.2 lib/cucumber_analytics/sourceable.rb
cucumber_analytics-1.5.1 lib/cucumber_analytics/sourceable.rb
cucumber_analytics-1.5.0 lib/cucumber_analytics/sourceable.rb
cucumber_analytics-1.4.2 lib/cucumber_analytics/sourceable.rb
cucumber_analytics-1.4.1 lib/cucumber_analytics/sourceable.rb
cucumber_analytics-1.4.0 lib/cucumber_analytics/sourceable.rb
cucumber_analytics-1.3.0 lib/cucumber_analytics/sourceable.rb
cucumber_analytics-1.2.0 lib/cucumber_analytics/sourceable.rb
cucumber_analytics-1.1.1 lib/cucumber_analytics/sourceable.rb