class Amber::Recipes::Scaffold::View
- Amber::Recipes::Scaffold::View
- Teeplate::FileTree
- Reference
- Object
Included Modules
Defined in:
amber_cli/recipes/scaffold/view.crConstructors
Instance Method Summary
-
#filter(entries)
Override to filter files rendered
- #isa_view?(entry_path)
-
#set_context(ctx)
setup the Liquid context
Instance methods inherited from module Amber::Recipes::FileEntries
collect_files(files)
collect_files,
each_file(absolute_path, filename, entry, &block : String, String -> )each_file(absolute_path, filename, &block : String, String -> ) each_file, file_entries : Array(Teeplate::AsDataEntry) file_entries, pack_blob(files, absolute_path, filename) pack_blob, pack_liquid(files, absolute_path, filename) pack_liquid
Instance methods inherited from module Amber::CLI::Helpers
add_dependencies(dependencies)
add_dependencies,
add_plugs(pipeline, plug)
add_plugs,
add_routes(pipeline, route)
add_routes
Class methods inherited from module Amber::CLI::Helpers
run(command, wait = true, shell = true)
run
Instance methods inherited from class Teeplate::FileTree
class_name
class_name,
display_name
display_name,
display_name_plural
display_name_plural,
filter(entries)
filter,
name_plural
name_plural,
render(out_dir, force : Bool = false, interactive : Bool = false, interact : Bool = false, list : Bool = false, color : Bool = false, per_entry : Bool = false, quit : Bool = true)
render
Constructor Detail
Instance Method Detail
def filter(entries)
#
Description copied from class Teeplate::FileTree
Override to filter files rendered