Class: ConceptQL::Nodifier
- Inherits:
-
Object
- Object
- ConceptQL::Nodifier
- Defined in:
- lib/conceptql/nodifier.rb
Instance Method Summary collapse
Instance Method Details
#create(type, values, tree) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/conceptql/nodifier.rb', line 4 def create(type, values, tree) require_relative "nodes/#{type}" node = "conceptQL/nodes/#{type}".camelize.constantize.new(values) node.tree = tree node end |