Method: Jax::Generators::MaterialGenerator#create_resource_file

Defined in:
lib/generators/jax/material/material_generator.rb

#create_resource_fileObject



53
54
55
# File 'lib/generators/jax/material/material_generator.rb', line 53

def create_resource_file
  template 'material.resource.erb', relative_path unless options[:append] and File.file?(absolute_path)
end