Class: PartialCompiler::Compiler
- Inherits:
-
Object
- Object
- PartialCompiler::Compiler
- Defined in:
- lib/partial_compiler/compiler.rb
Instance Attribute Summary collapse
-
#files ⇒ Object
Returns the value of attribute files.
Instance Method Summary collapse
-
#initialize ⇒ Compiler
constructor
A new instance of Compiler.
Constructor Details
#initialize ⇒ Compiler
Returns a new instance of Compiler.
7 8 9 10 11 12 |
# File 'lib/partial_compiler/compiler.rb', line 7 def initialize @files = FileCopier.create_files @files.each do |file| find_partials(file) end end |
Instance Attribute Details
#files ⇒ Object
Returns the value of attribute files.
5 6 7 |
# File 'lib/partial_compiler/compiler.rb', line 5 def files @files end |