core/src/main/java/org/jruby/RubyBasicObject.java
@Deprecated
    protected String validateInstanceVariable(String name) {
        if (IdUtil.isValidInstanceVariableName(name)) return name;

        throw getRuntime().newNameError("`%1$s' is not allowable as an instance variable name", this, name);
    }
/**
     * Checks if the name parameter represents a legal instance variable name, and otherwise throws a Ruby NameError
     */
Checks if the name parameter represents a legal instance variable name, and otherwise throws a Ruby NameError
Checks if the name parameter represents a legal instance variable name and otherwise throws a Ruby NameError
@Deprecated
    protected String validateInstanceVariable(String name) {
        if (IdUtil.isValidInstanceVariableName(name)) return name;
        throw getRuntime().newNameError("`%1$s' is not allowable as an instance variable name", this, name);
    }
@ Deprecated protected String validateInstanceVariable ( String name ) { if ( IdUtil . isValidInstanceVariableName ( name ) ) return name ; throw getRuntime ( ) . newNameError ( "`%1$s' is not allowable as an instance variable name" , this , name ) ; }
Checks if the name parameter represents a legal instance variable name, and otherwise throws a Ruby NameError
Checks if the name parameter represents a legal instance variable name and otherwise throws a Ruby NameError