Class: Regexp
- Defined in:
 - activesupport/lib/active_support/core_ext/regexp.rb,
activesupport/lib/active_support/core_ext/object/json.rb 
Instance Method Summary collapse
- 
  
    
      #as_json(options = nil)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
:nodoc:.
 - 
  
    
      #multiline?  ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  
  
    
Returns
trueif the regexp has the multiline flag set. 
Instance Method Details
#as_json(options = nil) ⇒ Object
:nodoc:
      140 141 142  | 
    
      # File 'activesupport/lib/active_support/core_ext/object/json.rb', line 140 def as_json( = nil) # :nodoc: to_s end  | 
  
#multiline? ⇒ Boolean
      11 12 13  | 
    
      # File 'activesupport/lib/active_support/core_ext/regexp.rb', line 11 def multiline? & MULTILINE == MULTILINE end  |