Method: CSSPool::CSS::MediaQuery#initialize

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

#initialize(only_or_not, media_expr, and_exprs, parse_location = {}) ⇒ MediaQuery

Returns a new instance of MediaQuery.



11
12
13
14
15
16
# File 'lib/csspool/css/media_query.rb', line 11

def initialize(only_or_not, media_expr, and_exprs, parse_location = {})
  @only_or_not = only_or_not
  @media_expr = media_expr
  @and_exprs = and_exprs
  @parse_location = parse_location
end