class Dude::Git::Commit

Attributes

commit_name[R]

Public Instance Methods

call(commit_name) click to toggle source
# File lib/dude/git/commit.rb, line 6
def call(commit_name)
  @commit_name = commit_name
  create_commit
end

Private Instance Methods

create_commit() click to toggle source
# File lib/dude/git/commit.rb, line 15
def create_commit
  `git commit -m "#{commit_name}"`
end