Method: CSSPool::CSS::DocumentHandler#import_style

Defined in:
lib/csspool/css/document_handler.rb

#import_style(media, uri, ns = nil, loc = {}) ⇒ Object



22
23
24
25
26
27
28
29
30
# File 'lib/csspool/css/document_handler.rb', line 22

def import_style media, uri, ns = nil, loc = {}
  @document.import_rules << CSS::ImportRule.new(
    uri,
    ns,
    media,
    @document,
    loc
  )
end