Class: YARD::Handlers::Ruby::ActiveRecord2::Fields::DefineHandler
- Inherits:
-
MethodHandler
- Object
- MethodHandler
- YARD::Handlers::Ruby::ActiveRecord2::Fields::DefineHandler
- Defined in:
- lib/yard-activerecord2/fields/define_handler.rb
Instance Method Summary collapse
Instance Method Details
#process ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/yard-activerecord2/fields/define_handler.rb', line 5 def process if statement.file == 'db/schema.rb' globals.ar_schema = true parse_block(statement.last.last) globals.ar_schema = false end end |