Sha256: 6413f07c826512c2359441013c9246d32f08e76b4e244324247fafb491b6216a

Contents?: true

Size: 402 Bytes

Versions: 26

Compression:

Stored size: 402 Bytes

Contents

module RevealCK
  module Render
    # Determine which .css files are underneath a @dir
    module CssFiles
      def css_files
        things_in_css_dir = FileList["#{@dir}/css/**/*"]
        only_css_files = things_in_css_dir.grep(/\.css$/)
        relative_css_files = only_css_files.map do |file|
          file.sub("#{@dir}/", '')
        end
        relative_css_files
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
reveal-ck-4.0.0 lib/reveal-ck/render/css_files.rb
reveal-ck-3.9.2 lib/reveal-ck/render/css_files.rb
reveal-ck-3.9.1 lib/reveal-ck/render/css_files.rb
reveal-ck-3.9.0 lib/reveal-ck/render/css_files.rb
reveal-ck-3.8.1 lib/reveal-ck/render/css_files.rb
reveal-ck-3.8.0 lib/reveal-ck/render/css_files.rb
reveal-ck-3.7.0 lib/reveal-ck/render/css_files.rb
reveal-ck-3.6.0 lib/reveal-ck/render/css_files.rb
reveal-ck-3.5.1 lib/reveal-ck/render/css_files.rb
reveal-ck-3.5.0 lib/reveal-ck/render/css_files.rb
reveal-ck-3.4.0 lib/reveal-ck/render/css_files.rb
reveal-ck-3.3.1 lib/reveal-ck/render/css_files.rb
reveal-ck-3.3.0 lib/reveal-ck/render/css_files.rb
reveal-ck-3.2.0 lib/reveal-ck/render/css_files.rb
reveal-ck-3.1.0 lib/reveal-ck/render/css_files.rb
reveal-ck-3.0.1 lib/reveal-ck/render/css_files.rb
reveal-ck-3.0.0 lib/reveal-ck/render/css_files.rb
reveal-ck-0.6.2 lib/reveal-ck/render/css_files.rb
reveal-ck-0.6.1 lib/reveal-ck/render/css_files.rb
reveal-ck-0.6.0 lib/reveal-ck/render/css_files.rb