class RMonitor::Commands::CL::Update
Public Class Methods
new(options = {})
click to toggle source
# File lib/rmonitor/commands/cl/update.rb, line 7 def initialize(options = {}) @err = options[:err] || $stderr @update = options[:update] || RMonitor::Commands::Update.new(options) end
Public Instance Methods
execute()
click to toggle source
# File lib/rmonitor/commands/cl/update.rb, line 12 def execute @update.execute rescue RMonitor::NoInvokableProfileError @err.puts "no invokable profile" end