method

when

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Case
when(condition, expression = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/arel/nodes/case.rb, line 14
      def when(condition, expression = nil)
        @conditions << When.new(Nodes.build_quoted(condition), expression)
        self
      end
Register or log in to add new notes.