Method: ArticleJSON::Elements::TextBox#initialize
- Defined in:
- lib/article_json/elements/text_box.rb
#initialize(content:, float: nil, tags: []) ⇒ TextBox
Returns a new instance of TextBox.
9 10 11 12 13 14 |
# File 'lib/article_json/elements/text_box.rb', line 9 def initialize(content:, float: nil, tags: []) @type = :text_box @content = content @float = float @tags = end |