Sha256: 637f85b7e760fcb190dc25f34052f31694bde7a034be2dc65d2d48e57561934f
Contents?: true
Size: 309 Bytes
Versions: 1
Compression:
Stored size: 309 Bytes
Contents
# frozen_string_literal: true module Dude module Git class Commit def call(commit_name) @commit_name = commit_name create_commit end private attr_reader :commit_name def create_commit `git commit -m "#{commit_name}"` end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dude-cli-2.1.0 | lib/dude/git/commit.rb |