Sha256: c73fc341f17289e9b37e2b788e56a09b88b4870caa7f478a3198395da253267d

Contents?: true

Size: 525 Bytes

Versions: 8

Compression:

Stored size: 525 Bytes

Contents

module Munge
  module Cli
    module Commands
      class Update
        include Thor::Base
        include Thor::Actions

        def self.source_root
          File.expand_path("../../../../../seeds", __FILE__)
        end

        def initialize(_bootloader, path)
          self.options = {}
          self.destination_root = File.expand_path(path)
        end

        def call
          directory("lib", File.expand_path("lib", destination_root))
          copy_file("setup.rb")
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
munge-0.19.0 lib/munge/cli/commands/update.rb
munge-0.18.0 lib/munge/cli/commands/update.rb
munge-0.17.0 lib/munge/cli/commands/update.rb
munge-0.16.0 lib/munge/cli/commands/update.rb
munge-0.15.1 lib/munge/cli/commands/update.rb
munge-0.15.0 lib/munge/cli/commands/update.rb
munge-0.14.0 lib/munge/cli/commands/update.rb
munge-0.13.0 lib/munge/cli/commands/update.rb