lib/glimmer/rake_task/scaffold.rb in glimmer-dsl-libui-0.9.7 vs lib/glimmer/rake_task/scaffold.rb in glimmer-dsl-libui-0.10.0

- old
+ new

@@ -430,12 +430,10 @@ require 'glimmer-dsl-libui' # add more gems if needed end class #{class_name(app_name)} - include Glimmer - APP_ROOT = File.expand_path('../..', __FILE__) VERSION = File.read(File.join(APP_ROOT, 'VERSION')) LICENSE = File.read(File.join(APP_ROOT, 'LICENSE.txt')) end @@ -833,9 +831,10 @@ def model_file(model_name, namespace) namespace_type = class_name(namespace) == class_name(current_dir_name) ? 'class' : 'module' <<-MULTI_LINE_STRING +# Delete this example model and replace with your own model #{namespace_type} #{class_name(namespace)} module Model class #{class_name(model_name)} GREETINGS = [ 'Hello, World!',