Make Node#idx and Node#parent a stricter contract.
Make Node#idx and Node#parent a stricter contract.

Descendants must implement either attr_readers or methods for these
properties. The `attr_reader :idx` block wasn't actually doing anything
before.

jmdeldin/rna_sec