1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/rdoc/xref_data.rb
naruse 3e92b635fb Add frozen_string_literal: false for all files
When you change this to true, you may need to add more tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:07:31 +00:00

77 lines
641 B
Ruby

# frozen_string_literal: false
XREF_DATA = <<-XREF_DATA
class C1
attr :attr
# :section: separate
attr_reader :attr_reader
attr_writer :attr_writer
# :section:
attr_accessor :attr_accessor
CONST = :const
def self.m
end
def m foo
end
end
class C2
def b
end
alias a b
class C3
def m
end
class H1
def m?
end
end
end
end
class C3
class H1
end
class H2 < H1
end
end
class C4
class C4
end
end
class C5
class C1
end
end
module M1
def m
end
end
module M1::M2
end
class Parent
def m() end
def self.m() end
end
class Child < Parent
end
XREF_DATA