Class: ExcADG::Payload::Wrapper::Ruby
- Defined in:
- lib/excadg/payload/wrapper.rb
Overview
runs a ruby script behaves same as the Bin reg parameters and return data
Instance Attribute Summary
Attributes included from ExcADG::Payload
Instance Method Summary collapse
Methods inherited from Bin
Methods included from ExcADG::Payload
Instance Method Details
#sanitize(args) ⇒ Object
57 58 59 60 61 |
# File 'lib/excadg/payload/wrapper.rb', line 57 def sanitize args raise "arguments should be a String, got #{args}" unless args.is_a? String "ruby #{args}" end |