Class: FileType::Gem
Instance Attribute Summary
Attributes inherited from Generic
Instance Method Summary collapse
Methods inherited from Generic
#+, extractable, #extractable?, extractable_dir, #extsplit, filetype_extension, inherited, #initialize, match_type, #to_s
Constructor Details
This class inherits a constructor from FileType::Generic
Instance Method Details
#install(install_dir = nil) ⇒ Object
288 289 290 291 292 |
# File 'lib/file_type.rb', line 288 def install ( install_dir=nil ) cmd = GEM + 'install' + path cmd << '--install-dir' << install_dir unless install_dir.nil? cmd.run(runner) end |
#installable? ⇒ Boolean
284 285 286 |
# File 'lib/file_type.rb', line 284 def installable? true end |