Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/rpg_lib/string.rb
Overview
String Patch
Instance Method Summary collapse
Instance Method Details
#roll ⇒ Object
22 23 24 |
# File 'lib/rpg_lib/string.rb', line 22 def roll RpgLib::DiceRoller.instance.roll(self) end |
#roll_and_ignore(*args) ⇒ Object
26 27 28 |
# File 'lib/rpg_lib/string.rb', line 26 def roll_and_ignore(*args) RpgLib::DiceRoller.instance.roll_and_ignore(self, RpgLib::RollSet.new(*args)) end |