Sha256: f24dbc1ec7e2dfce460d3827451ecb9f26fd24014b1b632dac57aeee02d00cf2

Contents?: true

Size: 278 Bytes

Versions: 7

Compression:

Stored size: 278 Bytes

Contents

require 'translator/base'

if ARGV[0] == "view"
  p = {
    :template_path => File.join(File.dirname(__FILE__), "..", "generator", "templates"),
    :application_path => APPLICATION_PATH
  }
  YMDP::Generator::Base.new(p).generate(ARGV[1])
  YMDP::Translator::YRB.translate
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ymdp-0.1.9 lib/ymdp/commands/generate.rb
ymdp-0.1.8.1 lib/ymdp/commands/generate.rb
ymdp-0.1.8 lib/ymdp/commands/generate.rb
ymdp-0.1.7 lib/ymdp/commands/generate.rb
ymdp-0.1.6 lib/ymdp/commands/generate.rb
ymdp-0.1.4 lib/ymdp/commands/generate.rb
ymdp-0.1.3.2 lib/ymdp/commands/generate.rb