Method: Trust::Controller::Resource#instantiated
- Defined in:
- lib/trust/controller/resource.rb
#instantiated ⇒ Object
Returns either the instances or the instance.
We have found that this can be useful in some implementation patterns
151 152 153 |
# File 'lib/trust/controller/resource.rb', line 151 def instantiated instances || instance end |