Class: Postcodes::Postcode
Instance Attribute Summary collapse
-
#info ⇒ Object
readonly
Returns the value of attribute info.
Instance Method Summary collapse
-
#initialize(info) ⇒ Postcode
constructor
A new instance of Postcode.
Methods inherited from Base
Constructor Details
#initialize(info) ⇒ Postcode
Returns a new instance of Postcode.
8 9 10 |
# File 'lib/postcodes_io/postcode.rb', line 8 def initialize(info) @info = info end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Postcodes::Base
Instance Attribute Details
#info ⇒ Object (readonly)
Returns the value of attribute info.
6 7 8 |
# File 'lib/postcodes_io/postcode.rb', line 6 def info @info end |