Method: PlainRecord.root

Defined in:
lib/plain_record.rb

.root(path = '') ⇒ Object

Return root for Model#entry_in or Model#list_in.

If you set path it will be added to root path.



57
58
59
# File 'lib/plain_record.rb', line 57

def root(path = '')
  ::File.join(@root, path)
end