Class: Proscenium::CssModule::Name
- Defined in:
- lib/proscenium/css_module.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(name, transform, path = nil) ⇒ Name
constructor
A new instance of Name.
- #to_s ⇒ Object
- #to_sym ⇒ Object
Constructor Details
#initialize(name, transform, path = nil) ⇒ Name
Returns a new instance of Name.
16 17 18 19 20 |
# File 'lib/proscenium/css_module.rb', line 16 def initialize(name, transform, path = nil) @name = name @transform = transform @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
14 15 16 |
# File 'lib/proscenium/css_module.rb', line 14 def path @path end |