class Haml::Exec::CSS2Sass

:nodoc:
specific to the css2sass executable.
A class encapsulating executable functionality

def initialize(args)

:nodoc:
specific to the css2sass executable.
A class encapsulating executable functionality
def initialize(args)
  super
  @module_opts = {}
  require 'sass/css'
end

def process_result

def process_result
  super
  input = @options[:input]
  output = @options[:output]
  output.write(::Sass::CSS.new(input, @module_opts).render)
end

def set_opts(opts)

def set_opts(opts)
  opts.banner = <<END
 css2sass [options] [INPUT] [OUTPUT]
ption: Transforms a CSS file into corresponding Sass code.
s:
  opts.on('-a', '--alternate', 'Output using alternative Sass syntax (margin: 1px)') do
    @module_opts[:alternate] = true
  end
  super
end