Class: Object

### Home Classes Methods

### In Files

- lib/gettext_activerecord/parser.rb

### Parent

BasicObject

### Methods

- #active_record_classes_list
- #inherited
- #inherited_without_log
- #reset_active_record_classes_list

### Included Modules

- GetText

### Class/Module Index

Quicksearch

- ActiveRecord
- ActiveRecord::Base
- ActiveRecord::ConnectionAdapters
- ActiveRecord::ConnectionAdapters::Column
- ActiveRecord::Migration
- GetText
- GetText::ActiveRecordParser
- Class
- GetTextActiveRecord
- Object

No matching classes.

# Object

### Public Instance Methods

active_record_classes_list() click to toggle source

    # File lib/gettext_activerecord/parser.rb, line 26
    def active_record_classes_list
      $active_record_classes_list ||= []
    end

inherited(subclass) click to toggle source

    # File lib/gettext_activerecord/parser.rb, line 20
    def inherited(subclass)
      puts "registering an ActiveRecord model for later processing: #{subclass}" if $DEBUG
      active_record_classes_list << "#{subclass}" unless subclass.name.empty?
      inherited_without_log(subclass)
    end

Also aliased as: inherited_without_log
inherited_without_log(subclass) click to toggle source
Alias for: inherited
reset_active_record_classes_list() click to toggle source

    # File lib/gettext_activerecord/parser.rb, line 30
    def reset_active_record_classes_list
      $active_record_classes_list = []
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.