class WolfRpg::Command::SetString

Public Instance Methods

text() click to toggle source
# File lib/wolfrpg/command.rb, line 64
def text
  if @string_args.length > 0
    @string_args[0]
  else
    ''
  end
end
text=(value) click to toggle source
# File lib/wolfrpg/command.rb, line 72
def text=(value)
  @string_args[0] = value
end