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?, #extsplit, filetype_extension, inherited, #initialize, #installable?, match_type, #symtbl_to_s, #to_s

Constructor Details

This class inherits a constructor from FileType::Generic

Instance Method Details

#loadObject



243
244
245
# File 'lib/file_type.rb', line 243

def load
  path.load
end

#requireObject



247
248
249
# File 'lib/file_type.rb', line 247

def require
  path.require
end