Class: Vitae::Nodes::TagCloudNode

Inherits:
Node
  • Object
show all
Defined in:
lib/vitae/server/node.rb

Instance Attribute Summary

Attributes inherited from Node

#data, #level, #name, #path

Instance Method Summary collapse

Methods inherited from Node

#child_node_class, #child_node_class_from_name, #child_node_class_from_yaml, #collection_wrapper, #html, #initialize, #node_wrapper, #output_data, set, #show_data, #to_s, types

Methods included from Helpers

#content_tag, #current_theme, #include_theme_css, #include_theme_js, #link_to, #tag

Constructor Details

This class inherits a constructor from Vitae::Nodes::Node

Instance Method Details

#show_hashObject



127
128
129
130
131
132
133
# File 'lib/vitae/server/node.rb', line 127

def show_hash
  collection_wrapper do
    output_data.each do |key, value|
      haml_tag "li.skill", key, :class => value
    end
  end
end