-
Notifications
You must be signed in to change notification settings - Fork 319
GitHub flavored markdown
Christian Loose edited this page Nov 1, 2013
·
3 revisions
Ctrl
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
class A < B; def self.create(object = User) object end end
class Zebra; def inspect; "X#{2 + self.object_id}" end end
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' + test)
end.join
end
def [](index) self[index] end
def ==(other) other == self end
end
anIdentifier = an_identifier
Constant = 1
render action: :new