Sha256: e2bb391bdbd15afcf92ecb62e9423b13df47f7eef67224971ad81449ff78b32a

Contents?: true

Size: 382 Bytes

Versions: 7

Compression:

Stored size: 382 Bytes

Contents

module CukeModeler

  # 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

7 entries across 7 versions & 1 rubygems

Version Path
cuke_modeler-0.4.1 lib/cuke_modeler/sourceable.rb
cuke_modeler-0.4.0 lib/cuke_modeler/sourceable.rb
cuke_modeler-0.3.0 lib/cuke_modeler/sourceable.rb
cuke_modeler-0.2.0 lib/cuke_modeler/sourceable.rb
cuke_modeler-0.1.0 lib/cuke_modeler/sourceable.rb
cuke_modeler-0.0.2 lib/cuke_modeler/sourceable.rb
cuke_modeler-0.0.1 lib/cuke_modeler/sourceable.rb