Class: CSSPool::Selectors::Class

Inherits:
Additional show all
Defined in:
lib/csspool/selectors/class.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) ⇒ Class

Returns a new instance of Class.



6
7
8
# File 'lib/csspool/selectors/class.rb', line 6

def initialize name
  @name = name
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/csspool/selectors/class.rb', line 4

def name
  @name
end