Module: ActsAsTreeDiagram::ViewDiagram
- Defined in:
- lib/acts_as_tree_diagram.rb
Instance Method Summary collapse
Instance Method Details
#diagram_molecules_tag(options = {}) ⇒ String
21 22 23 24 |
# File 'lib/acts_as_tree_diagram.rb', line 21 def diagram_molecules_tag( = {}) where = .fetch :where, {} where(where).map { |x| draw_tree(x, ) }.join("\n") end |