Class: Matheus::Puts
Overview
Usage:
$ puts "Date.today"
2024-08-26
Instance Method Summary collapse
Methods inherited from Command
Methods included from StringFormat
Methods included from Result::Methods
Instance Method Details
#call(argv) ⇒ Object
10 11 12 13 14 |
# File 'lib/matheus/puts.rb', line 10 def call(argv) puts eval(argv.join(" ")) # standard:disable Security/Eval rescue Exception => e # standard:disable Lint/RescueException Failure(e.) end |