Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 19th, 2018
85
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.23 KB
| None
|
0
0
raw
download
clone
embed
print
report
class A
def test
puts "A::test"
end
end
class B
def test
puts "B::test"
C.a.test
end
end
class C
def self.test
@@a = A.new
@@b = B.new
@@b.test
end
def self.a
@@a
end
end
C::test
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 52 sec ago | 0.39 KB
CREATE TABLE R2
MySQL | 5 min ago | 0.26 KB
CREATE TABLE R3
MySQL | 7 min ago | 0.42 KB
Create Spline From Points
C# | 8 min ago | 2.14 KB
Forward conversation to email
JavaScript | 12 min ago | 3.95 KB
Untitled
CSS | 19 min ago | 0.44 KB
Запрос для создания таблицы R1
MySQL | 20 min ago | 0.26 KB
Wordpress Add Admin
PHP | 30 min ago | 7.68 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!