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

[ModuleMap] Allow generating with excluded headers

parent 71fcca15
...@@ -12,13 +12,14 @@ module Pod ...@@ -12,13 +12,14 @@ module Pod
attr_reader :headers 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 alias_method :private?, :private
def to_s def to_s
[ [
(:private if private?), (:private if private?),
(:textual if textual), (:textual if textual),
(:umbrella if umbrella), (:umbrella if umbrella),
(:exclude if exclude),
'header', 'header',
%("#{path}"), %("#{path}"),
attrs, 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