Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 18th, 2018
89
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
class Field
@sides = [:n,:s,:w,:e,:ne,:nw,:se,:sw]
def initialize
@edges = {}
end
@sides.each do |sym|
define_method sym { |num| @edges[sym] = num }
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 15 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 24 min ago | 0.39 KB
jrszb2018
JSON | 28 min ago | 1.42 KB
85128
JSON | 45 min ago | 2.85 KB
Q348z
JSON | 49 min ago | 1.28 KB
hanjukankan
JSON | 51 min ago | 2.52 KB
yuepianys
JSON | 54 min ago | 2.41 KB
Qpptv06
JSON | 56 min ago | 0.14 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!