Class: RevealCK::Render::Scope
- Inherits:
-
Object
- Object
- RevealCK::Render::Scope
- Includes:
- ContentsOf, CssFiles, IndexHtmlMaker, RevealCK::Retrieve
- Defined in:
- lib/reveal-ck/render/scope.rb
Overview
A Scope provides methods available at render time.
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(args) ⇒ Scope
constructor
A new instance of Scope.
Methods included from IndexHtmlMaker
Methods included from CssFiles
Methods included from ContentsOf
Methods included from RevealCK::Retrieve
Constructor Details
#initialize(args) ⇒ Scope
Returns a new instance of Scope.
12 13 14 15 |
# File 'lib/reveal-ck/render/scope.rb', line 12 def initialize(args) @dir = retrieve(:dir, args) @config = retrieve(:config, args) end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
10 11 12 |
# File 'lib/reveal-ck/render/scope.rb', line 10 def config @config end |