update inbox list
This commit is contained in:
13
vendor/scrivo/highlight.php/test/detect/ruby/default.txt
vendored
Normal file
13
vendor/scrivo/highlight.php/test/detect/ruby/default.txt
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# The Greeter class
|
||||
class Greeter
|
||||
def initialize(name)
|
||||
@name = name.capitalize
|
||||
end
|
||||
|
||||
def salute
|
||||
puts "Hello #{@name}!"
|
||||
end
|
||||
end
|
||||
|
||||
g = Greeter.new("world")
|
||||
g.salute
|
||||
3
vendor/scrivo/highlight.php/test/detect/ruby/double-colon.txt
vendored
Normal file
3
vendor/scrivo/highlight.php/test/detect/ruby/double-colon.txt
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
def f(a = self.attr)
|
||||
A::B.new(a)
|
||||
end
|
||||
Reference in New Issue
Block a user