Sha256: 9c72b492f90cf4baa13dc6429cca5cd4b99bad2587792a58c441806e56f69262

Contents?: true

Size: 361 Bytes

Versions: 3

Compression:

Stored size: 361 Bytes

Contents

module Brewdler
  class Dsl
    def initialize(input)
      @input = input
    end

    def process
      instance_eval(@input)
    end

    def brew(name)
      Brewdler::BrewInstaller.install(name)
    end

    def cask(name)
      Brewdler::CaskInstaller.install(name)
    end

    def tap(name)
      Brewdler::RepoInstaller.install(name)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
brewdler-1.0.1 lib/brewdler/dsl.rb
brewdler-1.0.0 lib/brewdler/dsl.rb
brewdler-0.5.0 lib/brewdler/dsl.rb