Class: Laser::Cutter::Notching::Base
- Inherits:
-
Object
- Object
- Laser::Cutter::Notching::Base
- Defined in:
- lib/laser-cutter/notching/base.rb
Instance Attribute Summary collapse
-
#edge ⇒ Object
Returns the value of attribute edge.
Instance Method Summary collapse
-
#initialize(edge) ⇒ Base
constructor
A new instance of Base.
- #notches ⇒ Object
Constructor Details
#initialize(edge) ⇒ Base
Returns a new instance of Base.
5 6 7 |
# File 'lib/laser-cutter/notching/base.rb', line 5 def initialize(edge) @edge = edge end |
Instance Attribute Details
#edge ⇒ Object
Returns the value of attribute edge.
3 4 5 |
# File 'lib/laser-cutter/notching/base.rb', line 3 def edge @edge end |
Instance Method Details
#notches ⇒ Object
9 10 11 |
# File 'lib/laser-cutter/notching/base.rb', line 9 def notches raise 'Abstract method' end |