Method: Packcr#run
- Defined in:
- lib/packcr.rb
#run ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/packcr.rb', line 11 def run Context.new(@path.to_s, **@opt) do |ctx| if !ctx.parse_all raise "PackCR error: can't parse" end if !ctx.generate raise "PackCR error: can't generate" end end end |