Class: Tankobon::Archive
Instance Method Summary collapse
Methods inherited from Stageable
#initialize, #stage, #stage_root, #stageable
Constructor Details
This class inherits a constructor from Tankobon::Stageable
Instance Method Details
#to_stage ⇒ Object
3 4 5 6 7 8 |
# File 'lib/tankobon/archive.rb', line 3 def to_stage super do FileUtils.mkdir_p(stage) unless stage.exist? %x{cd "#{stage}" && 7za x -r "#{stageable}"} end end |