Class: Zabon::Configuration

Inherits:
Struct
  • Object
show all
Defined in:
lib/zabon/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_tagsObject

Returns the value of attribute strip_tags

Returns:

  • (Object)

    the current value of strip_tags



4
5
6
# File 'lib/zabon/configuration.rb', line 4

def strip_tags
  @strip_tags
end

#tagObject

Returns the value of attribute tag

Returns:

  • (Object)

    the current value of tag



4
5
6
# File 'lib/zabon/configuration.rb', line 4

def tag
  @tag
end

#tag_optionsObject

Returns the value of attribute tag_options

Returns:

  • (Object)

    the current value of tag_options



4
5
6
# File 'lib/zabon/configuration.rb', line 4

def tag_options
  @tag_options
end