Sha256: b6c8bbd82a3bf37c9ef2ab4400b08c904f9845233afc03be49c721a166ec71c4
Contents?: true
Size: 327 Bytes
Versions: 33
Compression:
Stored size: 327 Bytes
Contents
module ActiveMetadata module StreamHelper def stream_partial_path element class_name_downcase = clean_class_name element.class.to_s.downcase "active_metadata/#{class_name_downcase.pluralize}/#{class_name_downcase}" end def clean_class_name name name.split('::').last || nil end end end
Version data entries
33 entries across 33 versions & 1 rubygems