Link for style guide:

https://github.com/rubocop-hq/ruby-style-guide

https://github.com/bbatsov/ruby-style-guide

Soft tabs: 2 spaces, convert tabs to spaces

class names: CamelCase

class ThisIsCamelCase
  # code for class
end

file names, method names and variable names: snake_case

Variable assignment:

this_is_snake_case = "snake case"

Method definition:

def method_name
  # write code here
end

Ruby file names:

this_is_snake_case.rb