Method: Estreet::Function#attributes
- Defined in:
- lib/estreet/function.rb
#attributes ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/estreet/function.rb', line 11 def attributes # does super work here (i.e. in a module)? super.merge( generator: false, # ES6? expression: false, # ES6? defaults: [], # ES6? rest: nil, # ?? params: @params, body: @body ) end |