Sha256: db1c7ee0835a182635eb5826af3eae04808ac886dfc9c18ce02452b54383433f

Contents?: true

Size: 329 Bytes

Versions: 5

Compression:

Stored size: 329 Bytes

Contents

include Type::Css

def diff_args
  {:format=>:text}
end  

format do
  include Css::Format
  
  view :core do |args|
    compile_scss(process_content _render_raw)
  end
  
  def compile_scss scss, style=:expanded
    Sass.compile scss, :style=>style
  rescue =>e
    e
  end
  
end

format( :html ) { include Css::HtmlFormat }  

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
card-1.15.4 mod/03_machines/set/type/scss.rb
card-1.15.3 mod/03_machines/set/type/scss.rb
card-1.15.2 mod/03_machines/set/type/scss.rb
card-1.15.1 mod/03_machines/set/type/scss.rb
card-1.15.0 mod/03_machines/set/type/scss.rb