class Muwu::ManifestTask::Contents
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
inspect()
click to toggle source
# File lib/muwu/manifest_task/contents.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/contents.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/contents.rb, line 30 def naming [@text_root_name] end
text_blocks_by_name(name)
click to toggle source
# File lib/muwu/manifest_task/contents.rb, line 35 def text_blocks_by_name(name) @project.manifest.text_blocks_by_name(name) end