Class: Catalog::Drawer
- Inherits:
-
Object
- Object
- Catalog::Drawer
- Defined in:
- lib/catalog/models/drawer.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
-
#rule ⇒ Object
Returns the value of attribute rule.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(rule:, path:) ⇒ Drawer
constructor
A new instance of Drawer.
Constructor Details
#initialize(rule:, path:) ⇒ Drawer
Returns a new instance of Drawer.
5 6 7 8 |
# File 'lib/catalog/models/drawer.rb', line 5 def initialize(rule:, path:) @rule = rule @path = path end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
3 4 5 |
# File 'lib/catalog/models/drawer.rb', line 3 def path @path end |
#rule ⇒ Object
Returns the value of attribute rule.
3 4 5 |
# File 'lib/catalog/models/drawer.rb', line 3 def rule @rule end |