vendor/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/exec/base.rb
# Set an option for specifying `Encoding.default_external`.
#
# @param opts [OptionParser]
Set an option for specifying `Encoding.default_external`.
Set an option for specifying ` Encoding . default_external ` .
def encoding_option(opts)
      encoding_desc = if Sass::Util.ruby1_8?
                        'Does not work in Ruby 1.8.'
                      else
                        'Specify the default encoding for input files.'
                      end
      opts.on('-E', '--default-encoding ENCODING', encoding_desc) do |encoding|
        if Sass::Util.ruby1_8?
          $stderr.puts "Specifying the encoding is not supported in ruby 1.8."
          exit 1
        else
          Encoding.default_external = encoding
        end
      end
    end
def encoding_option ( opts ) encoding_desc = if Sass :: Util . ruby1_8? 'Does not work in Ruby 1.8.' else 'Specify the default encoding for input files.' end opts . on ( '-E' , '--default-encoding ENCODING' , encoding_desc ) do | encoding | if Sass :: Util . ruby1_8? $stderr . puts "Specifying the encoding is not supported in ruby 1.8." exit 1 else Encoding . default_external = encoding end end end
Set an option for specifying `Encoding.default_external`.
Set an option for specifying ` Encoding . default_external ` .
opts
<not_specific>
<not_specific>
None