Module: Decoder::CommonMethods
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
7 8 9 |
# File 'lib/decoder/common_methods.rb', line 7 def inspect %{#<#{self.class} code: #{code}, name: #{name}>} end |
#to_s ⇒ Object
3 4 5 |
# File 'lib/decoder/common_methods.rb', line 3 def to_s name end |