class HaveAPI::Fs::Components::ActionMessage
Public Class Methods
new(action_dir, *args)
click to toggle source
Calls superclass method
# File lib/haveapi/fs/components/action_message.rb, line 3 def initialize(action_dir, *args) super(*args) @action_dir = action_dir end
Public Instance Methods
read()
click to toggle source
# File lib/haveapi/fs/components/action_message.rb, line 8 def read ret = @msg.to_s ret += "\n" unless ret.empty? ret end
set(msg)
click to toggle source
# File lib/haveapi/fs/components/action_message.rb, line 14 def set(msg) changed @msg = msg end