Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 21st, 2018
80
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
1.25 KB
| None
|
0
0
raw
download
clone
embed
print
report
require 'yaml'
module TS
def read file
YAML.load_file file
end
end
x = TS.read "test.cfg"
#ERROR: TS.rb:12:in `<main>': undefined method `read' for TS:Module (NoMethodError)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
Rust | 17 min ago | 4.74 KB
Untitled
C++ | 24 min ago | 5.09 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 31 min ago | 0.39 KB
multi_queue
Python | 40 min ago | 0.54 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 46 min ago | 0.38 KB
llama 3 70B sample
Swift | 1 hour ago | 6.14 KB
Untitled
C++ | 1 hour ago | 3.71 KB
concatenate ranges
C++ | 1 hour ago | 1.80 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!