Class: TruncateHtml::Configuration

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

Instance Attribute Summary collapse

Instance Attribute Details

#lengthObject

Returns the value of attribute length.



3
4
5
# File 'lib/truncate_html/configuration.rb', line 3

def length
  @length
end

#omissionObject

Returns the value of attribute omission.



3
4
5
# File 'lib/truncate_html/configuration.rb', line 3

def omission
  @omission
end

#word_boundaryObject

Returns the value of attribute word_boundary.



3
4
5
# File 'lib/truncate_html/configuration.rb', line 3

def word_boundary
  @word_boundary
end