method

safeconstname?

ruby latest stable - Class: XSD::CodeGen::GenSupport

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

safeconstname?(name)
public

No documentation available.

# File lib/xsd/codegen/gensupport.rb, line 79
  def safeconstname?(name)
    /\A[A-Z][a-zA-Z0-9_]*\z/ =~ name and !keyword?(name)
  end