Skip to content

Instantly share code, notes, and snippets.

@Darkle
Created April 4, 2015 08:26
Show Gist options
  • Save Darkle/070f785db8646d770bf8 to your computer and use it in GitHub Desktop.
Save Darkle/070f785db8646d770bf8 to your computer and use it in GitHub Desktop.
class A < B; def self.create(object = User)
class Zebra; def inspect; "X#{2 + self.object_id}"

module ABC::DEF
  include Comparable

  # @param test
  # @return [String] nothing
  def foo(test)
    Thread.new do |blockvar|
      ABC::DEF.reverse(:a_symbol, :'a symbol', :<=>, 'test')
    end.join
  end

  # A really really long line than goes on and on and on, continuing outside of the  bounds of the code box

  def [](index) self[index] end
  def ==(other) other == self end
end

anIdentifier = an_identifier
Constant = 1
render action: :new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment