Class: WolfRpg::Command::SetString
- Inherits:
-
WolfRpg::Command
- Object
- WolfRpg::Command
- WolfRpg::Command::SetString
- Defined in:
- lib/wolfrpg/command.rb
Instance Attribute Summary
Attributes inherited from WolfRpg::Command
#args, #cid, #indent, #string_args
Instance Method Summary collapse
Methods inherited from WolfRpg::Command
Instance Method Details
#text ⇒ Object
64 65 66 67 68 69 70 |
# File 'lib/wolfrpg/command.rb', line 64 def text if @string_args.length > 0 @string_args[0] else '' end end |
#text=(value) ⇒ Object
72 73 74 |
# File 'lib/wolfrpg/command.rb', line 72 def text=(value) @string_args[0] = value end |