Class: JQuery::JSExpr

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

Direct Known Subclasses

JSFunction, JSNumeric, JSString, JSStruct, JSVar

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(expr) ⇒ JSExpr

Returns a new instance of JSExpr.



68
69
70
# File 'lib/jquery.rb', line 68

def initialize(expr)
  @expr = expr
end

Instance Attribute Details

#exprObject

Returns the value of attribute expr.



66
67
68
# File 'lib/jquery.rb', line 66

def expr
  @expr
end