mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
21 lines
261 B
Ruby
21 lines
261 B
Ruby
require 'set'
|
|
|
|
class BuildEnvironment
|
|
def initialize(*settings)
|
|
@settings = Set.new(settings)
|
|
end
|
|
|
|
def <<(o)
|
|
@settings << o
|
|
self
|
|
end
|
|
|
|
def std?
|
|
@settings.include? :std
|
|
end
|
|
|
|
def userpaths?
|
|
@settings.include? :userpaths
|
|
end
|
|
end
|