Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/trainbbcode/string.rb
Instance Method Summary collapse
-
#tbbc(conf = nil) ⇒ Object
Allows for “[b]Bold”.tbbc .
Instance Method Details
#tbbc(conf = nil) ⇒ Object
9 10 11 12 13 |
# File 'lib/trainbbcode/string.rb', line 9 def tbbc(conf = nil) bbc=TBBC.new bbc.conf(conf) if conf bbc.parse(self) end |