Class: HtmlFile

Inherits:
SourceFile show all
Defined in:
lib/file-types/html-file.rb

Instance Attribute Summary

Attributes inherited from SourceFile

#full_path, #parent_folder

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from SourceFile

#assets, #basename, #content, #content_relative_to_destination, #copy_to, #debug_content_relative_to_destination, #dependencies, #error, #extension, #file_path, #file_path=, from_path, #has_file_path, inherited, #initialize, #minify_content, #minify_content_type, path_relative_to_folder, #relative_to_file, #relative_to_folder, root_folder, root_folder=, #to_s, #to_str, #warning

Constructor Details

This class inherits a constructor from SourceFile

Class Method Details

.extensionObject



3
4
5
# File 'lib/file-types/html-file.rb', line 3

def self.extension
  ".html"
end

Instance Method Details

#can_embed_as_contentObject



7
8
9
# File 'lib/file-types/html-file.rb', line 7

def can_embed_as_content
  true
end