Class: YARD::Rails::Legacy::AttrAccessibleHandler
- Inherits:
-
Handlers::Ruby::Legacy::AttributeHandler
- Object
- Handlers::Ruby::Legacy::AttributeHandler
- YARD::Rails::Legacy::AttrAccessibleHandler
- Defined in:
- lib/yard-rails/legacy/attr_accessible_handler.rb
Instance Method Summary collapse
Instance Method Details
#process ⇒ Object
9 10 11 12 13 14 |
# File 'lib/yard-rails/legacy/attr_accessible_handler.rb', line 9 def process # HACK: Must set the name to attr_accessor to make the attribute # show up as read/write. statement.tokens.first.set_text('attr_accessor') super end |