Sha256: f59d8a438de07d088c8c02f18b62eedb0b886913f5804945ce5391cfe24ccd37
Contents?: true
Size: 346 Bytes
Versions: 1
Compression:
Stored size: 346 Bytes
Contents
module Jei module Builders module LinksNodeBuilder include Nodes # @param [Array<Link>] links # @return [LinksNode] def self.build(links) links_node = LinksNode.new links.each do |link| links_node.children << LinkNode.new(link) end links_node end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jei-0.2.0 | lib/jei/builders/links_node_builder.rb |