Class: Xaases::Js::Function
- Inherits:
-
Object
- Object
- Xaases::Js::Function
- Defined in:
- lib/xaases/js/function.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(*params) ⇒ Function
constructor
A new instance of Function.
- #render ⇒ Object
Constructor Details
#initialize(*params) ⇒ Function
Returns a new instance of Function.
6 7 8 9 |
# File 'lib/xaases/js/function.rb', line 6 def initialize(*params) @params = params @s = '' end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
4 5 6 |
# File 'lib/xaases/js/function.rb', line 4 def params @params end |
Instance Method Details
#render ⇒ Object
11 12 13 |
# File 'lib/xaases/js/function.rb', line 11 def render @s end |