class CodeRay::Encoders::Encoder

def const_missing sym

downcase class name instead.
If FILE_EXTENSION isn't defined, this method returns the
def const_missing sym
  if sym == :FILE_EXTENSION
    (defined?(@plugin_id) && @plugin_id || name[/\w+$/].downcase).to_s
  else
    super
  end
end