Sha256: 10e14ac4cfdd034dea3558a34b4f66c8bb7af5dce0e33247258a611cb6c4aa3b

Contents?: true

Size: 490 Bytes

Versions: 1

Compression:

Stored size: 490 Bytes

Contents

class TerraspaceBundler::Dsl
  module Syntax
    def org(url)
      global[:org] = url
    end
    alias_method :user, :org

    def base_clone_url(value)
      TB.config.base_clone_url = value
    end

    def export_path(path)
      global[:export_path] = path
    end

    def export_purge(value)
      TB.config.export_purge = value
    end

    def mod(*args, **options)
      meta[:mods] << {args: args, options: options}
    end

    def global
      meta[:global]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
terraspace-bundler-0.2.0 lib/terraspace_bundler/dsl/syntax.rb