class YARD::Rails::Legacy::ClassAttributeHandler
Public Instance Methods
process()
click to toggle source
Calls superclass method
# File lib/yard-rails/legacy/class_attribute_handler.rb, line 9 def process # HACK: Strip the [c,m] off of the front of the method, so that # AttributeHandler will be able to correctly detect the resulting # method as read/write. new_text = statement.tokens.first.text.to_s[1..-1] statement.tokens.first.set_text(new_text) push_state(:scope => :class) { super } end