class BabelDiff::ImportFileHandler::ImportFile

Public Instance Methods

contents() click to toggle source
# File lib/babel_diff/import_file_handler.rb, line 44
def contents
  File.read(path)
end
language() click to toggle source
# File lib/babel_diff/import_file_handler.rb, line 40
def language
  path.split("/")[-2]
end