Class: Zabon::Configuration
- Inherits:
-
Struct
- Object
- Struct
- Zabon::Configuration
- Defined in:
- lib/zabon/configuration.rb
Instance Attribute Summary collapse
-
#strip_tags ⇒ Object
Returns the value of attribute strip_tags.
-
#tag ⇒ Object
Returns the value of attribute tag.
-
#tag_options ⇒ Object
Returns the value of attribute tag_options.
Instance Method Summary collapse
-
#initialize(tag: :span, tag_options: { class: "zabon", style: "display: inline-block" }, strip_tags: true) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(tag: :span, tag_options: { class: "zabon", style: "display: inline-block" }, strip_tags: true) ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/zabon/configuration.rb', line 5 def initialize(tag: :span, tag_options: { class: "zabon", style: "display: inline-block" }, strip_tags: true) super end |
Instance Attribute Details
#strip_tags ⇒ Object
Returns the value of attribute strip_tags
4 5 6 |
# File 'lib/zabon/configuration.rb', line 4 def end |
#tag ⇒ Object
Returns the value of attribute tag
4 5 6 |
# File 'lib/zabon/configuration.rb', line 4 def tag @tag end |
#tag_options ⇒ Object
Returns the value of attribute tag_options
4 5 6 |
# File 'lib/zabon/configuration.rb', line 4 def end |