Sha256: 15549ab718c6c7e2d67218285007ed7af4f82167699487c991f97a3cf0b2e5d0
Contents?: true
Size: 450 Bytes
Versions: 3
Compression:
Stored size: 450 Bytes
Contents
require 'awestruct' module Awestruct module Commands class Generate def initialize(dir=Dir.pwd, base_url=nil, force=false) @dir = dir @base_url = base_url @force = force @engine = Awestruct::Engine.new( @dir ) end def run() begin @engine.generate( @base_url, @force ) rescue =>e puts e puts e.backtrace end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
awestruct-0.0.4 | lib/awestruct/commands/generate.rb |
awestruct-0.0.3 | lib/awestruct/commands/generate.rb |
awestruct-0.0.2 | lib/awestruct/commands/generate.rb |