Sha256: 475726872957b6d8e9442d2de0764d8f300d580fa95677b799986260aef63869

Contents?: true

Size: 234 Bytes

Versions: 7

Compression:

Stored size: 234 Bytes

Contents

module CukeModeler


  module Containing


    private


    def build_child_element(clazz, element_data)
      element = clazz.new(element_data)
      element.parent_element = self

      element
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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