Sha256: e3f0652d7b39fd04b63acb931466b09f3324312a5cb40fdee702e5325b764ef1
Contents?: true
Size: 274 Bytes
Versions: 2
Compression:
Stored size: 274 Bytes
Contents
module ActionviewPrecompiler class HelperParser def initialize(filename) @filename = filename end def render_calls src = File.read(@filename) return [] unless src.include?("render") RenderParser.new(src).render_calls end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
actionview_precompiler-0.4.0 | lib/actionview_precompiler/helper_parser.rb |
actionview_precompiler-0.3.0 | lib/actionview_precompiler/helper_parser.rb |