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