Skip to content

Instantly share code, notes, and snippets.

@beezeebly
Created December 26, 2013 16:42
Show Gist options
  • Select an option

  • Save beezeebly/8135845 to your computer and use it in GitHub Desktop.

Select an option

Save beezeebly/8135845 to your computer and use it in GitHub Desktop.
Example of ruby code with mixed indentation
class Book
attr_accessor :title, :isbn, :author, :price
def initialize(title, isbn, author, price)
@title = title
@isbn = isbn
@author = author
@price = price
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment