Class: C

Inherits:
Object
  • Object
show all
Defined in:
ext/vendor/ctags/Units/parser-ruby.r/ruby-geany-sf-bug-542.d/input.rb,
ext/vendor/ctags/Units/parser-ruby.r/ruby-class-method-in-lt-lt-self.d/input.rb,
ext/vendor/ctags/Units/parser-ruby.r/ruby-scope-after-anonymous-class.d/input.rb

Overview

(Taken from #455 opened by @mislav).

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.fooObject



4
# File 'ext/vendor/ctags/Units/parser-ruby.r/ruby-class-method-in-lt-lt-self.d/input.rb', line 4

def foo() end

Instance Method Details

#barObject



6
# File 'ext/vendor/ctags/Units/parser-ruby.r/ruby-scope-after-anonymous-class.d/input.rb', line 6

def bar(); end

#method1Object

do as separator



18
19
20
21
22
# File 'ext/vendor/ctags/Units/parser-ruby.r/ruby-geany-sf-bug-542.d/input.rb', line 18

def method1
  for x in 0..1 do
    puts x
  end
end

#method2Object



24
25
26
27
28
29
# File 'ext/vendor/ctags/Units/parser-ruby.r/ruby-geany-sf-bug-542.d/input.rb', line 24

def method2
  until 0 == 1 do
    puts "hello"
    break
  end
end

#method3Object



31
32
33
34
35
36
# File 'ext/vendor/ctags/Units/parser-ruby.r/ruby-geany-sf-bug-542.d/input.rb', line 31

def method3
  while 1 == 1 do
    puts "hello"
    break
  end
end

#method4Object

semicolon as separator



39
40
41
42
43
44
# File 'ext/vendor/ctags/Units/parser-ruby.r/ruby-geany-sf-bug-542.d/input.rb', line 39

def method4
  for x in 1..2; [1,2,3].each do |y|
      puts x*y
    end
  end
end

#method5Object



46
47
48
49
50
51
52
# File 'ext/vendor/ctags/Units/parser-ruby.r/ruby-geany-sf-bug-542.d/input.rb', line 46

def method5
  until 0 == 1; [1,2,3].each do |x|
      puts x
    end
    break
  end
end

#method6Object



54
55
56
57
58
59
60
# File 'ext/vendor/ctags/Units/parser-ruby.r/ruby-geany-sf-bug-542.d/input.rb', line 54

def method6
  while 1 == 1; [1,2,3].each do |x|
      puts x
    end
    break
  end
end

#method7Object

newline as separator



63
64
65
66
67
68
69
# File 'ext/vendor/ctags/Units/parser-ruby.r/ruby-geany-sf-bug-542.d/input.rb', line 63

def method7
  for x in 1..2
    [1,2,3].each do |y|
      puts x*y
    end
  end
end

#method8Object



71
72
73
74
75
76
77
78
# File 'ext/vendor/ctags/Units/parser-ruby.r/ruby-geany-sf-bug-542.d/input.rb', line 71

def method8
  until 0 == 1
    [1,2,3].each do |x|
      puts x
    end
    break
  end
end

#method9Object



80
81
82
83
84
85
86
87
# File 'ext/vendor/ctags/Units/parser-ruby.r/ruby-geany-sf-bug-542.d/input.rb', line 80

def method9
  while 1 == 1
    [1,2,3].each do |x|
      puts x
    end
    break
  end
end