Class: TruncateHtml::Configuration
- Inherits:
-
Object
- Object
- TruncateHtml::Configuration
- Defined in:
- lib/truncate_html/configuration.rb
Instance Attribute Summary collapse
-
#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
#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 |