Class: Jbuilder::EnumerableCompat
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Jbuilder::EnumerableCompat
- Defined in:
- lib/jbuilder/collection_renderer.rb
Instance Method Summary collapse
-
#size(*args, &block) ⇒ Object
Rails 6.1 requires this.
Instance Method Details
#size(*args, &block) ⇒ Object
Rails 6.1 requires this.
112 113 114 |
# File 'lib/jbuilder/collection_renderer.rb', line 112 def size(*args, &block) __getobj__.count(*args, &block) end |