Sha256: 64f6c774d8d091861dde4ecd508be571c33feba1fcea87872c8c9a1db3945d92
Contents?: true
Size: 415 Bytes
Versions: 18
Compression:
Stored size: 415 Bytes
Contents
module Localtower module ApplicationHelper def subl_link_to(name, file, &block) name ||= file if block_given? str = capture(&block) else str = name end link_to str, "subl://open/?url=file://#{file}" end def to_json_print(hash) # str = hash.to_json # str.gsub(/,"/, ',<br>"').gsub(/\"\:/, '": ').html_safe hash.to_json end end end
Version data entries
18 entries across 18 versions & 1 rubygems