Method: Vedeu::Common#line_model?

Defined in:
lib/vedeu/common.rb

#line_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::Line.



76
77
78
79
80
81
82
83
84
# File 'lib/vedeu/common.rb', line 76

def line_model?
  if defined?(model)
    model.is_a?(Vedeu::Views::Line)

  else
    false

  end
end