Class: Sploit
- Inherits:
-
Object
- Object
- Sploit
- Defined in:
- lib/sploit.rb
Overview
You’ve got to be joking.
Constant Summary collapse
- VERSION =
Duh.
"1.0.0"
Class Method Summary collapse
-
.run(*urls) ⇒ Object
Runs.
Class Method Details
.run(*urls) ⇒ Object
Runs.
13 14 15 16 17 18 19 |
# File 'lib/sploit.rb', line 13 def self.run *urls results = urls.collect do |url| eval open(url).read, nil, url, 1 end results.length == 1 ? results.first : results end |