Exception: Less2Sass::InvalidArgumentError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Less2Sass::InvalidArgumentError
- Defined in:
- lib/less2sass/error.rb
Instance Method Summary collapse
-
#initialize(arg, val) ⇒ InvalidArgumentError
constructor
A new instance of InvalidArgumentError.
- #message ⇒ Object
Constructor Details
#initialize(arg, val) ⇒ InvalidArgumentError
Returns a new instance of InvalidArgumentError.
15 16 17 18 |
# File 'lib/less2sass/error.rb', line 15 def initialize(arg, val) @arg = arg @val = val end |
Instance Method Details
#message ⇒ Object
20 21 22 |
# File 'lib/less2sass/error.rb', line 20 def "#{@val} is not a valid value for #{arg}" end |