Class: Html2Bbcode::Bbcode::OpeningTags
- Inherits:
-
Struct
- Object
- Struct
- Html2Bbcode::Bbcode::OpeningTags
- Extended by:
- Forwardable
- Defined in:
- lib/bbcode/opening_tags.rb
Instance Attribute Summary collapse
-
#bbcode_element ⇒ Object
Returns the value of attribute bbcode_element.
Instance Method Summary collapse
Instance Attribute Details
#bbcode_element ⇒ Object
Returns the value of attribute bbcode_element
3 4 5 |
# File 'lib/bbcode/opening_tags.rb', line 3 def bbcode_element @bbcode_element end |
Instance Method Details
#tags ⇒ Object
8 9 10 |
# File 'lib/bbcode/opening_tags.rb', line 8 def bbcode_names.map { |tag| "[#{tag}]" }.join end |