class Linter::CLI
Public Class Methods
analyze(file_name)
click to toggle source
# File lib/linter/cli.rb, line 5 def self.analyze(file_name) # first read the file text = File.read(file_name) result = Linter::GenderAssociation.analyze(text) puts result.inspect.colorize(:red) result = Linter::PronounAssociation.analyze(text) puts result.inspect.colorize(:red) end