Class: MoCo::CssError

Inherits:
BrowserError show all
Defined in:
lib/moco/browser_error.rb

Instance Method Summary collapse

Methods inherited from BrowserError

#initialize, message

Constructor Details

This class inherits a constructor from MoCo::BrowserError

Instance Method Details

#html_allowed?Boolean

Returns:

  • (Boolean)


79
80
81
# File 'lib/moco/browser_error.rb', line 79

def html_allowed?
  false
end

#messageObject



75
76
77
# File 'lib/moco/browser_error.rb', line 75

def message
  read_file('error.css') % super.gsub(/\n/, '\a ')
end