Sha256: c69355f2fe1f61bda0905e09313fdaec5232941d83884d740fda89ba66241cb9

Contents?: true

Size: 376 Bytes

Versions: 61

Compression:

Stored size: 376 Bytes

Contents

module BourbonSupport
  def install_bourbon(path = nil)
    if path
      run_simple("bundle exec bourbon install --path '#{path}'")
    else
      run_simple("bundle exec bourbon install")
    end
  end

  def bourbon_path(prefix, path)
    if prefix
      File.join(prefix, 'bourbon', path)
    else
      File.join('bourbon', path)
    end
  end
end

World(BourbonSupport)

Version data entries

61 entries across 61 versions & 2 rubygems

Version Path
bourbon-2.1.2 features/support/bourbon_support.rb