Sha256: 8bb9e45109e4b7eeeed655f1e1e0865ee6d3a149f7e7bb9709677de1185d28e1

Contents?: true

Size: 1.19 KB

Versions: 13

Compression:

Stored size: 1.19 KB

Contents

# The following require adds "#to_json" to Hash. This is needed in
# script.js.erb. We do it here to provide as much clarity as is
# possible.
require 'json'

require_relative 'reveal-ck/version'
require_relative 'reveal-ck/config'
require_relative 'reveal-ck/retrieve'
require_relative 'reveal-ck/filtered_html_string'
require_relative 'reveal-ck/render'
require_relative 'reveal-ck/slide'
require_relative 'reveal-ck/presentation'
require_relative 'reveal-ck/presentation_dsl'
require_relative 'reveal-ck/templates'
require_relative 'reveal-ck/builders'
require_relative 'reveal-ck/markdown'
require_relative 'reveal-ck/tilt/config'
require_relative 'reveal-ck/commands'
require_relative 'reveal-ck/misc'

# RevealCK::path provides the path where files within the reveal-ck
# gem are located on your system.
module RevealCK
  def self.path(*args)
    lib = File.dirname(__FILE__)
    gem_root = File.join(lib, '..')
    location = File.expand_path(gem_root)
    File.join(location, *args)
  end

  def self.template_path(*args)
    lib = File.dirname(__FILE__)
    gem_root = File.join(lib, '..', 'files', 'reveal-ck', 'templates')
    location = File.expand_path(gem_root)
    File.join(location, *args)
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
reveal-ck-4.0.0 lib/reveal-ck.rb
reveal-ck-3.9.2 lib/reveal-ck.rb
reveal-ck-3.9.1 lib/reveal-ck.rb
reveal-ck-3.9.0 lib/reveal-ck.rb
reveal-ck-3.8.1 lib/reveal-ck.rb
reveal-ck-3.8.0 lib/reveal-ck.rb
reveal-ck-3.7.0 lib/reveal-ck.rb
reveal-ck-3.6.0 lib/reveal-ck.rb
reveal-ck-3.5.1 lib/reveal-ck.rb
reveal-ck-3.5.0 lib/reveal-ck.rb
reveal-ck-3.4.0 lib/reveal-ck.rb
reveal-ck-3.3.1 lib/reveal-ck.rb
reveal-ck-3.3.0 lib/reveal-ck.rb