Class: EncodingChecker::CharacterMatch
- Inherits:
-
Struct
- Object
- Struct
- EncodingChecker::CharacterMatch
- Defined in:
- lib/encoding_checker.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#index ⇒ Object
Returns the value of attribute index.
Instance Method Summary collapse
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
58 59 60 |
# File 'lib/encoding_checker.rb', line 58 def content @content end |
#index ⇒ Object
Returns the value of attribute index
58 59 60 |
# File 'lib/encoding_checker.rb', line 58 def index @index end |
Instance Method Details
#to_s ⇒ Object
59 60 61 |
# File 'lib/encoding_checker.rb', line 59 def to_s "#{content.inspect} (#{index})" end |