class Muwu::ManifestTask::Subcontents

Attributes

destination[RW]
item_depth_max[RW]
parent[RW]
project[RW]
section_number_max_depth[RW]
text_root_name[RW]
will_render_section_numbers[RW]

Public Instance Methods

document() click to toggle source
# File lib/muwu/manifest_task/subcontents.rb, line 31
def document
  @parent
end
inspect() click to toggle source
# File lib/muwu/manifest_task/subcontents.rb, line 17
def inspect
  ["#{self.to_s}", "{", inspect_instance_variables, "}"].join(' ')
end
inspect_instance_variables() click to toggle source
# File lib/muwu/manifest_task/subcontents.rb, line 22
def inspect_instance_variables
  self.instance_variables.map { |v| "#{v}=#<#{instance_variable_get(v).class}>" }.join(", ")
end
naming() click to toggle source
# File lib/muwu/manifest_task/subcontents.rb, line 36
def naming
  [@text_root_name]
end
text_root_blocks() click to toggle source
# File lib/muwu/manifest_task/subcontents.rb, line 41
def text_root_blocks
  document.text_blocks_by_name(@text_root_name)
end