Module: CommonMethods
- Included in:
- Decoder::Country, Decoder::State
- Defined in:
- lib/common_methods.rb
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
6 7 8 |
# File 'lib/common_methods.rb', line 6 def inspect %{#<#{self.class} code: #{code}, name: #{name}>} end |
#to_s ⇒ Object
2 3 4 |
# File 'lib/common_methods.rb', line 2 def to_s name end |