Class: Tadpole::SectionProviders::FileProvider
- Inherits:
-
SectionProvider
- Object
- SectionProvider
- Tadpole::SectionProviders::FileProvider
- Defined in:
- lib/tadpole/providers/file.rb
Constant Summary collapse
- EXTENSIONS =
['.txt', '.html', '.textile', '.md', '.markdown', 'markdn', '']
Instance Attribute Summary
Attributes inherited from SectionProvider
Instance Method Summary collapse
Methods inherited from SectionProvider
#initialize, #inspect, #method_missing, path_suitable?, provides?
Constructor Details
This class inherits a constructor from Tadpole::SectionProviders::SectionProvider
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Tadpole::SectionProviders::SectionProvider
Instance Method Details
#render(locals = nil) ⇒ Object
6 |
# File 'lib/tadpole/providers/file.rb', line 6 def render(locals = nil); content end |