Sha256: ea4eb8f9e48b31cca7f580cee74dcfc6bb512afeab442589f3966240d73d9f1c

Contents?: true

Size: 181 Bytes

Versions: 26

Compression:

Stored size: 181 Bytes

Contents

module RevealCK
  module Render
    # Provides mechanism to inline a file
    module ContentsOf
      def contents_of(path)
        File.open(path).read
      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/contents_of.rb
reveal-ck-3.9.2 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.9.1 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.9.0 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.8.1 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.8.0 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.7.0 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.6.0 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.5.1 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.5.0 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.4.0 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.3.1 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.3.0 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.2.0 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.1.0 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.0.1 lib/reveal-ck/render/contents_of.rb
reveal-ck-3.0.0 lib/reveal-ck/render/contents_of.rb
reveal-ck-0.6.2 lib/reveal-ck/render/contents_of.rb
reveal-ck-0.6.1 lib/reveal-ck/render/contents_of.rb
reveal-ck-0.6.0 lib/reveal-ck/render/contents_of.rb