Sha256: 375d36919974c192d3641feb1bcbede6fcd03c2222ef386aa42fc815eeb21ae3
Contents?: true
Size: 336 Bytes
Versions: 2
Compression:
Stored size: 336 Bytes
Contents
module LintTrap module Language # Interface for languages class Base def name self.class.name.split('::').last end def linters(*classes) classes.map(&:new) end def ==(other) name == other.name end def inspect "<#{name}>" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lint_trap-0.0.10 | lib/lint_trap/language/base.rb |
lint_trap-0.0.9 | lib/lint_trap/language/base.rb |