Sha256: 1a205b61db66764554bd63b6cc7a66d4e06adb1e20ca5bc546c2e79a89060392

Contents?: true

Size: 274 Bytes

Versions: 3

Compression:

Stored size: 274 Bytes

Contents

module Songbooks
  module ViewHelper
    def self.javascripts
      Dir[Songbooks.root.join('public', 'javascripts', 'components', '**', '*.js').to_s].map do |filename|
        filename.sub(Songbooks.root.join('public', 'javascripts/').to_s, '')
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
songbooks-0.1.2 lib/songbooks/view_helper.rb
songbooks-0.1.1 lib/songbooks/view_helper.rb
songbooks-0.1.0 lib/songbooks/view_helper.rb