Module: Jekyll::Archimate
- Defined in:
- lib/jekyll-archimate.rb,
lib/jekyll/archimate/folder.rb,
lib/jekyll/archimate/version.rb,
lib/jekyll/archimate/svg_file.rb,
lib/jekyll/archimate/json_file.rb,
lib/jekyll/archimate/matrix_tag.rb,
lib/jekyll/archimate/catalog_tag.rb,
lib/jekyll/archimate/entity_base.rb,
lib/jekyll/archimate/model_entity.rb,
lib/jekyll/archimate/unified_model.rb,
lib/jekyll/archimate/diagram_entity.rb,
lib/jekyll/archimate/element_entity.rb,
lib/jekyll/archimate/archimate_cache.rb,
lib/jekyll/archimate/conditional_file.rb,
lib/jekyll/archimate/archimate_generator.rb,
lib/jekyll/archimate/relationship_entity.rb,
lib/jekyll/archimate/archimate_diagram_tag.rb,
lib/jekyll/archimate/archimate_svg_generator.rb,
lib/jekyll/archimate/archimate_index_generator.rb,
lib/jekyll/archimate/application_interaction_matrix_tag.rb
Defined Under Namespace
Classes: ApplicationInteractionMatrixTag, ArchimateCache, ArchimateDiagramTag, ArchimateFileCacheInfo, ArchimateGenerator, ArchimateIndexGenerator, ArchimateSvgGenerator, CatalogTag, ConditionalFile, DiagramEntity, ElementEntity, EntityBase, Folder, JsonFile, MatrixTag, ModelEntity, RelationshipEntity, SvgFile, UnifiedModel
Constant Summary collapse
- VERSION =
"0.2.3"
Class Method Summary collapse
-
.hash_purge(hash) ⇒ Object
Removes all keys that have null or empty values.
Class Method Details
.hash_purge(hash) ⇒ Object
Removes all keys that have null or empty values
9 10 11 |
# File 'lib/jekyll-archimate.rb', line 9 def self.hash_purge(hash) hash.delete_if { |_, value| !value || (value.is_a?(String) && value.empty?) } end |