aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/build_environment.rb
blob: 97a8fae42d299ce20eb11b435578caac87186d7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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