Sha256: fca311e3d1c316262c8257dae949be0ae29b096d0b4683a4b9f690226b46046c
Contents?: true
Size: 637 Bytes
Versions: 20
Compression:
Stored size: 637 Bytes
Contents
# frozen_string_literal: true require 'ruby_helm/version' require 'ruby_helm/commands' module RubyHelm class << self attr_writer :configuration def configuration @configuration ||= Configuration.new end def configure yield(configuration) end def reset! @configuration = nil end end module ClassMethods def clean(opts = {}) Commands::Clean.new.execute(opts) end end extend ClassMethods def self.included(other) other.extend(ClassMethods) end class Configuration attr_accessor :binary def initialize @binary = 'helm' end end end
Version data entries
20 entries across 20 versions & 1 rubygems