Class: Proscenium::CssModule::Name

Inherits:
Object
  • Object
show all
Defined in:
lib/proscenium/css_module.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, transform) ⇒ Name

Returns a new instance of Name.



19
20
21
22
# File 'lib/proscenium/css_module.rb', line 19

def initialize(name, transform)
  @name = name
  @transform = transform
end

Instance Method Details

#to_sObject



24
25
26
# File 'lib/proscenium/css_module.rb', line 24

def to_s
  @transform
end

#to_symObject



28
29
30
# File 'lib/proscenium/css_module.rb', line 28

def to_sym
  @name
end