Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/ext/string.rb

Instance Method Summary collapse

Instance Method Details

#city_info(**kwargs) ⇒ Object



9
10
11
# File 'lib/ext/string.rb', line 9

def city_info(**kwargs)
  Zipcoder.city_info self, **kwargs
end

#to_zipObject



13
14
15
# File 'lib/ext/string.rb', line 13

def to_zip
  self
end

#zip_info(**kwargs) ⇒ Object



5
6
7
# File 'lib/ext/string.rb', line 5

def zip_info(**kwargs)
  Zipcoder.zip_info self, **kwargs
end