Class: StaticMatic::Error

### Home Classes Methods

### In Files

- lib/staticmatic/error.rb

### Parent

StandardError

### Methods

- ::new
- #message

### Files

- LICENSE

### Class/Module Index

Quicksearch

- StaticMatic
- StaticMatic::Base
- StaticMatic::BuildMixin
- StaticMatic::Configuration
- StaticMatic::Error
- StaticMatic::Helpers
- StaticMatic::Helpers::AssetsHelper
- StaticMatic::Helpers::CurrentPathHelper
- StaticMatic::Helpers::FormHelper
- StaticMatic::Helpers::RenderHelper
- StaticMatic::Helpers::TagHelper
- StaticMatic::Helpers::UrlHelper
- StaticMatic::HelpersMixin
- StaticMatic::RenderMixin
- StaticMatic::RescueMixin
- StaticMatic::Server
- StaticMatic::ServerMixin
- StaticMatic::SetupMixin
- StaticMatic::TemplateError
- Compass
- Compass::AppIntegration
- Compass::AppIntegration::Staticmatic
- Compass::AppIntegration::Staticmatic::ConfigurationDefaults
- Compass::AppIntegration::Staticmatic::Installer

No matching classes.

# StaticMatic::Error

### Attributes

filename[R]
line[R]

### Public Class Methods

new(lineno, filename, message) click to toggle source

    # File lib/staticmatic/error.rb, line 7
    def initialize(lineno, filename, message)
      @line = lineno
      @filename = filename
      @message = message
    end

### Public Instance Methods

message() click to toggle source

    # File lib/staticmatic/error.rb, line 13
    def message
      "#{@filename}, line #{@line}: #{@message}"
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.