Class: Texd::Document::Compilation

Inherits:
Struct
  • Object
show all
Defined in:
lib/texd/document.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attachmentsObject

Returns the value of attribute attachments

Returns:

  • (Object)

    the current value of attachments



39
40
41
# File 'lib/texd/document.rb', line 39

def attachments
  @attachments
end

#main_input_nameObject

Returns the value of attribute main_input_name

Returns:

  • (Object)

    the current value of main_input_name



39
40
41
# File 'lib/texd/document.rb', line 39

def main_input_name
  @main_input_name
end

Instance Method Details

#main_input_contentsObject

Convenience accessor for the main input file.



46
47
48
# File 'lib/texd/document.rb', line 46

def main_input_contents
  attachments.items.fetch(main_input_name).contents
end

#to_upload_ios(missing_refs: Set.new) ⇒ Object



40
41
42
# File 'lib/texd/document.rb', line 40

def to_upload_ios(missing_refs: Set.new)
  attachments.to_upload_ios(missing_refs)
end