add node dir attr_reader
Merge pull request #37 from rjocoleman/dir_attr

add node dir attr_reader