Sha256: 7e868acc855a831a00fad30f40322e6df0527bac035795a1cff60e13df414bc4

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

require 'git'

module Bootcamp
  
  # The Armory is where the repo will be held
  class Armory
    
    attr_accessor :git
    
    def initialize
      @git = Git.init
      checkin("First Commit")
      # need to add the repo origin, and branch.
    end
    
    def checkin(message = "Simple Commit")
      @git.add('.')
      @git.commit(message)
    end
    
    def deposit
      # pushes the files up
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bootcamp-0.1.4 lib/bootcamp/armory.rb