Class: Undercase::Category
- Inherits:
-
Object
- Object
- Undercase::Category
- Defined in:
- lib/undercase/category.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#patterns ⇒ Object
readonly
Returns the value of attribute patterns.
Instance Method Summary collapse
-
#initialize(key) ⇒ Category
constructor
A new instance of Category.
Constructor Details
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/undercase/category.rb', line 6 def name @name end |
#patterns ⇒ Object (readonly)
Returns the value of attribute patterns.
6 7 8 |
# File 'lib/undercase/category.rb', line 6 def patterns @patterns end |