Class: Datanorm::Documents::Assembles::Reference

Inherits:
Object
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/datanorm/documents/assembles/reference.rb

Overview

Convenience helper to read the contents of a file.

Instance Method Summary collapse

Instance Method Details

#readObject



14
15
16
17
18
# File 'lib/datanorm/documents/assembles/reference.rb', line 14

def read
  return @read if defined?(@read)

  @read = read!
end