module Forspell::Loaders
Constants
- EXT_TO_PARSER_CLASS
- Word
Public Class Methods
for(path)
click to toggle source
# File lib/forspell/loaders.rb, line 19 def self.for(path) EXT_TO_PARSER_CLASS[File.extname(path)].new(file: path) end