Sha256: 70f44f00fe604b728588aa651570a620d442a14d7bd4c5ec047a5d8dcc4020e1
Contents?: true
Size: 391 Bytes
Versions: 6
Compression:
Stored size: 391 Bytes
Contents
module RevealCK module Render # Determine which .js files are underneath a @dir module JsFiles def js_files things_in_js_dir = FileList["#{@dir}/js/**/*"] only_js_files = things_in_js_dir.grep(/\.js$/) relative_js_files = only_js_files.map do |file| file.sub("#{@dir}/", '') end relative_js_files end end end end
Version data entries
6 entries across 6 versions & 1 rubygems