Class: RevealCK::Builders::RevealCkFiles
- Inherits:
-
Object
- Object
- RevealCK::Builders::RevealCkFiles
- 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
-
#dir ⇒ Object
readonly
Returns the value of attribute dir.
Instance Method Summary collapse
- #files ⇒ Object
-
#initialize(args) ⇒ RevealCkFiles
constructor
A new instance of RevealCkFiles.
Methods included from 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
#dir ⇒ Object (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
#files ⇒ Object
16 17 18 |
# File 'lib/reveal-ck/builders/reveal_ck_files.rb', line 16 def files FileList["#{dir}/css/reveal-ck.css"] end |