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