Sha256: 3af8ff6bfa1b01679a5bcb07fde0bd3cf2b75e731734dc5ebef25fb168538eb5

Contents?: true

Size: 274 Bytes

Versions: 64

Compression:

Stored size: 274 Bytes

Contents

if ARGV[0] == "view"
  p = {
    :template_path => File.join(File.dirname(__FILE__), "..", "generator", "templates"),
    :application_path => "#{BASE_PATH}/app"
  }
  YMDP::Generator::Base.new(p).generate(ARGV[1])
  Idiom::Base.translate(:source => "#{BASE_PATH}/app")
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
ymdp-1.4.7 lib/ymdp/commands/generate.rb
ymdp-1.4.6 lib/ymdp/commands/generate.rb
ymdp-1.4.5 lib/ymdp/commands/generate.rb
ymdp-1.4.4 lib/ymdp/commands/generate.rb
ymdp-1.4.3 lib/ymdp/commands/generate.rb
ymdp-1.4.2 lib/ymdp/commands/generate.rb
ymdp-1.4.1 lib/ymdp/commands/generate.rb
ymdp-1.4.0 lib/ymdp/commands/generate.rb
ymdp-1.3.4 lib/ymdp/commands/generate.rb
ymdp-1.3.3 lib/ymdp/commands/generate.rb
ymdp-1.3.2 lib/ymdp/commands/generate.rb
ymdp-1.3.1 lib/ymdp/commands/generate.rb
ymdp-1.3.0 lib/ymdp/commands/generate.rb
ymdp-1.2.0 lib/ymdp/commands/generate.rb
ymdp-1.1.0 lib/ymdp/commands/generate.rb
ymdp-1.0.1 lib/ymdp/commands/generate.rb
ymdp-1.0.0 lib/ymdp/commands/generate.rb
ymdp-0.10.2 lib/ymdp/commands/generate.rb
ymdp-0.10.1 lib/ymdp/commands/generate.rb
ymdp-0.10.0 lib/ymdp/commands/generate.rb