# File lib/cgikit/project/template.rb, line 177 def write_declaration if @superclass_name and @superclass_name != 'CGIKit::Component' then unless str = superclass_template('ckd') then raise "#@superclass_name: Can't find binding file" end else str = "{\n}\n" end File.open(declaration_path, 'w') do |f| f.write(str) end end