Exception: Less2Sass::ArgumentUnspecifiedError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/less2sass/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(arg) ⇒ ArgumentUnspecifiedError

Returns a new instance of ArgumentUnspecifiedError.



5
6
7
# File 'lib/less2sass/error.rb', line 5

def initialize(arg)
  @arg = arg
end

Instance Method Details

#messageObject



9
10
11
# File 'lib/less2sass/error.rb', line 9

def message
  "Argument Error: #{@arg} can't be left unspecified. Choose sass or scss."
end