Module: Arspy::ClassExtensions::ActiveRecord::Base
- Defined in:
- lib/arspy/class_extensions.rb
Instance Method Summary collapse
Instance Method Details
#ap(opts = {}) ⇒ Object
8 |
# File 'lib/arspy/class_extensions.rb', line 8 def ap(opts={}); Arspy::Operators.awesome_print(self, opts); end |
#la(*args) ⇒ Object
5 |
# File 'lib/arspy/class_extensions.rb', line 5 def la(*args); Arspy::Operators.list_associations(self, *args); end |
#lf(*args) ⇒ Object
6 |
# File 'lib/arspy/class_extensions.rb', line 6 def lf(*args); Arspy::Operators.list_fields(self, *args); end |
#pr ⇒ Object
7 |
# File 'lib/arspy/class_extensions.rb', line 7 def pr; Arspy::Operators.awesome_print(self); end |