Commit 98a2422f authored by Samuel Giddins's avatar Samuel Giddins

[ModuleMap] Allow generating with excluded headers

parent 71fcca15
......@@ -12,13 +12,14 @@ module Pod
attr_reader :headers
Header = Struct.new(:path, :umbrella, :private, :textual, :size, :mtime) do
Header = Struct.new(:path, :umbrella, :private, :textual, :exclude, :size, :mtime) do
alias_method :private?, :private
def to_s
[
(:private if private?),
(:textual if textual),
(:umbrella if umbrella),
(:exclude if exclude),
'header',
%("#{path}"),
attrs,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment