getRuleNumber: Elementary Rule of a One-Dimensional Cellular Automaton
Description
This method extracts the rule number from an instance of class CellularAutomaton.
Value
getRuleNumber returns the rule number for the automaton, provided that an elementary
rule was specified by the user. If the user supplied his/her own rule, then this method
returns -1.
Details
ca$getRuleNumber()