Class: CSSPool::CSS::Charset

Inherits:
Node
  • Object
show all
Defined in:
lib/csspool/css/charset.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#inner_end_pos, #inner_start_pos, #outer_end_pos, #outer_start_pos

Instance Method Summary collapse

Methods inherited from Node

#==, #accept, #children, #each, #hash, #to_css, #to_minified_css

Constructor Details

#initialize(name, parse_location) ⇒ Charset

Returns a new instance of Charset.



7
8
9
10
# File 'lib/csspool/css/charset.rb', line 7

def initialize name, parse_location
  @name = name
  @parse_location = parse_location
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/csspool/css/charset.rb', line 4

def name
  @name
end

#parse_locationObject

Returns the value of attribute parse_location.



5
6
7
# File 'lib/csspool/css/charset.rb', line 5

def parse_location
  @parse_location
end