Class: FileType::Gem
Instance Attribute Summary
Attributes inherited from Generic
Instance Method Summary collapse
Methods inherited from Generic
#+, #extractable?, #extsplit, filetype_extension, inherited, #initialize, match_type, #symtbl_to_s, #to_s
Constructor Details
This class inherits a constructor from FileType::Generic
Instance Method Details
#install(install_dir = nil) ⇒ Object
273 274 275 276 277 |
# File 'lib/file_type.rb', line 273 def install ( install_dir=nil ) cmd = gem('install', path) cmd << '--install-dir' << install_dir unless install_dir.nil? cmd.run(runner) end |
#installable? ⇒ Boolean
269 270 271 |
# File 'lib/file_type.rb', line 269 def installable? true end |