Skip to content

Instantly share code, notes, and snippets.

@gquintana
Created January 8, 2017 08:41
Show Gist options
  • Save gquintana/0805607541ae1ea29006793d0800da2d to your computer and use it in GitHub Desktop.
Save gquintana/0805607541ae1ea29006793d0800da2d to your computer and use it in GitHub Desktop.
AsciiDoc and Ruby

Ruby language

class Person
  def name             # <1> Get name
    @name
  end
  def name=(new_name)  # <2> Set name
    @name=new_name
  end
end
  1. Get name

  2. Set name

At this point Asciidoc syntax colouring is broken in Atom. The single quote: let’s triggers something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment