Class: ZSteg::Result::OneChar
- Defined in:
- lib/zsteg/result.rb
Instance Attribute Summary collapse
-
#char ⇒ Object
Returns the value of attribute char.
-
#size ⇒ Object
Returns the value of attribute size.
Instance Method Summary collapse
Instance Attribute Details
#char ⇒ Object
Returns the value of attribute char
61 62 63 |
# File 'lib/zsteg/result.rb', line 61 def char @char end |
#size ⇒ Object
Returns the value of attribute size
61 62 63 |
# File 'lib/zsteg/result.rb', line 61 def size @size end |
Instance Method Details
#to_s ⇒ Object
62 63 64 |
# File 'lib/zsteg/result.rb', line 62 def to_s "[#{char.inspect} repeated #{size} times]".gray end |