Sha256: 23155bc8b08cdf991d8825b6c88ebe02d429c597a67d24a0600c1dcee8415823

Contents?: true

Size: 681 Bytes

Versions: 47

Compression:

Stored size: 681 Bytes

Contents

# ==========================================================================
# Generator: Controller
# Copyright: ©2006-2011 Strobe Inc. and contributors
#            portions copyright ©2009 Apple Inc.
# ==========================================================================

namespace :generator do

  # - Verify required properties are present
  # - Accept second argument as base class
  # - If file name ends in "_controller", strip it off
  task :prepare do
    GENERATOR.requires! :target_project, :target, :namespace, :class_name
    GENERATOR.base_class_name ||= GENERATOR.arguments[2]
    GENERATOR.filename = GENERATOR.filename.sub(/_controller$/,'')
  end
  
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
sproutcore-1.11.0 lib/gen/controller/Buildfile
sproutcore-1.11.0.rc3 lib/gen/controller/Buildfile
sproutcore-1.11.0.rc2 lib/gen/controller/Buildfile
sproutcore-1.11.0.rc1 lib/gen/controller/Buildfile
sproutcore-1.10.3.1 lib/gen/controller/Buildfile
sproutcore-1.10.2 lib/gen/controller/Buildfile
sproutcore-1.10.1 lib/gen/controller/Buildfile
sproutcore-1.10.0 lib/gen/controller/Buildfile
sproutcore-1.10.0.rc.3 lib/gen/controller/Buildfile
sproutcore-1.10.0.rc.2 lib/gen/controller/Buildfile
sproutcore-1.10.0.rc.1 lib/gen/controller/Buildfile
sproutcore-1.9.2 lib/gen/controller/Buildfile
sproutcore-1.9.1 lib/gen/controller/Buildfile
sproutcore-1.9.0 lib/gen/controller/Buildfile
sproutcore-1.8.2.1 lib/gen/controller/Buildfile
sproutcore-1.8.1 lib/gen/controller/Buildfile
sproutcore-1.8.0 lib/gen/controller/Buildfile
sproutcore-1.7.1.beta-java lib/gen/controller/Buildfile
sproutcore-1.7.1.beta lib/gen/controller/Buildfile
sproutcore-1.6.0.1-java lib/gen/controller/Buildfile