Class: TruncateHtml::Configuration
- Inherits:
-
Object
- Object
- TruncateHtml::Configuration
- Defined in:
- lib/truncate_html/configuration.rb
Instance Attribute Summary collapse
-
#break_token ⇒ Object
Returns the value of attribute break_token.
-
#length ⇒ Object
Returns the value of attribute length.
-
#omission ⇒ Object
Returns the value of attribute omission.
-
#word_boundary ⇒ Object
Returns the value of attribute word_boundary.
Instance Attribute Details
#break_token ⇒ Object
Returns the value of attribute break_token.
3 4 5 |
# File 'lib/truncate_html/configuration.rb', line 3 def break_token @break_token end |
#length ⇒ Object
Returns the value of attribute length.
3 4 5 |
# File 'lib/truncate_html/configuration.rb', line 3 def length @length end |
#omission ⇒ Object
Returns the value of attribute omission.
3 4 5 |
# File 'lib/truncate_html/configuration.rb', line 3 def omission @omission end |
#word_boundary ⇒ Object
Returns the value of attribute word_boundary.
3 4 5 |
# File 'lib/truncate_html/configuration.rb', line 3 def word_boundary @word_boundary end |