Method: Command::WriteCommit#read_message
- Defined in:
- lib/command/shared/write_commit.rb
#read_message ⇒ Object
41 42 43 44 45 46 47 |
# File 'lib/command/shared/write_commit.rb', line 41 def if @options.has_key?(:message) "#{ @options[:message] }\n" elsif @options.has_key?(:file) File.read(@options[:file]) end end |