mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
12 lines
195 B
Ruby
12 lines
195 B
Ruby
|
|
# Phase 19 (Track M.1) — class-method benign control for Ruby.
|
||
|
|
require 'shellwords'
|
||
|
|
|
||
|
|
class UserService
|
||
|
|
def initialize
|
||
|
|
end
|
||
|
|
|
||
|
|
def run(input)
|
||
|
|
`true #{Shellwords.escape(input)}`
|
||
|
|
end
|
||
|
|
end
|