Method: PropertyType#parameter_type
- Defined in:
- lib/metarecord/properties.rb
#parameter_type(options = {}) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/metarecord/properties.rb', line 10 def parameter_type = {} if (pass_by_const_reference? && [:ref].nil?) || [:ref] "const #{@name}&" else @name end end |