Class: Laser::Cutter::Notching::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/laser-cutter/notching/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#edgeObject

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

#notchesObject



9
10
11
# File 'lib/laser-cutter/notching/base.rb', line 9

def notches
  raise 'Abstract method'
end