Method: LabClient::Generator::Names#create_file

Defined in:
lib/labclient/generator/names.rb

#create_file(content, branch = :master, message = nil) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/labclient/generator/names.rb', line 7

def create_file(content, branch = :master, message = nil)
  {
    branch: branch,
    commit_message: message || gen_description,
    content: content
  }
end