Class: CSSPool::Selectors::Class

Inherits:
Additional show all
Defined in:
lib/csspool/selectors/class.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Visitable

#==, #accept, #children, #each, #hash, #to_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