Method: Vedeu::Common#stream_model?
- Defined in:
- lib/vedeu/common.rb
#stream_model? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a boolean indicating the model is a Views::Stream.
137 138 139 140 141 142 143 144 145 |
# File 'lib/vedeu/common.rb', line 137 def stream_model? if defined?(model) model.is_a?(Vedeu::Views::Stream) else false end end |