Class: MapLayers::JsVar

Inherits:
JsExpr
  • Object
show all
Defined in:
lib/map_layers/js_wrapper.rb

Overview

Used to bind a ruby variable to an already existing JavaScript one.

Constant Summary

Constants inherited from JsExpr

MapLayers::JsExpr::UNDEFINED

Instance Attribute Summary

Attributes included from JsWrapper

#variable

Method Summary

Methods inherited from JsExpr

#create, #initialize, #to_s, #to_str

Methods included from JsWrapper

#[], #assign_to, #create, #declare, #declare_random, #declared?, escape_javascript, #get_property, javascriptify_method, #javascriptify_method_call, javascriptify_variable, #method_missing, #set_property, #to_javascript, #to_json

Constructor Details

This class inherits a constructor from MapLayers::JsExpr

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class MapLayers::JsWrapper