Method: MountDoc::Document#initialize
- Defined in:
- lib/mount_doc/document.rb
#initialize(type, name) ⇒ Document
Returns a new instance of Document.
9 10 11 12 13 14 |
# File 'lib/mount_doc/document.rb', line 9 def initialize(type, name) @type = type @name = name load_file end |