Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/gmaps4rails/extensions/hash.rb
Instance Method Summary collapse
-
#to_gmaps4rails ⇒ Object
this method extracts all info from the hash to create javascript this javascript is then rendered raw to the view so it can be interpreted and executed.
Instance Method Details
#to_gmaps4rails ⇒ Object
this method extracts all info from the hash to create javascript this javascript is then rendered raw to the view so it can be interpreted and executed
5 6 7 |
# File 'lib/gmaps4rails/extensions/hash.rb', line 5 def to_gmaps4rails Gmaps4rails.create_js_from_hash(self.with_indifferent_access) end |