Class: RevealCK::Builders::RevealCkFiles

Inherits:
Object
  • Object
show all
Includes:
Retrieve
Defined in:
lib/reveal-ck/builders/reveal_ck_files.rb

Overview

This class knows which files from reveal-ck are vital to the presentation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Retrieve

included, #retrieve

Constructor Details

#initialize(args) ⇒ RevealCkFiles

Returns a new instance of RevealCkFiles.



12
13
14
# File 'lib/reveal-ck/builders/reveal_ck_files.rb', line 12

def initialize(args)
  @dir = retrieve(:dir, args)
end

Instance Attribute Details

#dirObject (readonly)

Returns the value of attribute dir.



10
11
12
# File 'lib/reveal-ck/builders/reveal_ck_files.rb', line 10

def dir
  @dir
end

Instance Method Details

#filesObject



16
17
18
# File 'lib/reveal-ck/builders/reveal_ck_files.rb', line 16

def files
  FileList["#{dir}/css/reveal-ck.css"]
end