Method: Commit#initialize

Defined in:
lib/worth/commit.rb

#initialize(author, message, changes) ⇒ Commit

Returns a new instance of Commit.



9
10
11
12
13
# File 'lib/worth/commit.rb', line 9

def initialize(author, message, changes)
  @author = author
  @message = message
  @changes = changes
end