Class: FileType::Ruby

Inherits:
Generic show all
Defined in:
lib/file_type.rb

Instance Attribute Summary

Attributes inherited from Generic

#base, #ext, #path

Instance Method Summary collapse

Methods inherited from Generic

#+, extractable, #extractable?, extractable_dir, #extsplit, filetype_extension, inherited, #initialize, #installable?, match_type, #to_s

Constructor Details

This class inherits a constructor from FileType::Generic

Instance Method Details

#loadObject



258
259
260
# File 'lib/file_type.rb', line 258

def load
  path.load
end

#requireObject



262
263
264
# File 'lib/file_type.rb', line 262

def require
  path.require
end