Class: Object

Inherits:
BasicObject
Defined in:
lib/cuts/cut.rb

Class Method Summary collapse

Class Method Details

._newObject



95
# File 'lib/cuts/cut.rb', line 95

alias_method :_new, :new

.new(*a, &b) ⇒ Object



97
98
99
100
101
102
103
# File 'lib/cuts/cut.rb', line 97

def new(*a, &b)
  o = _new(*a, &b)
  if !cuts.empty?
    o.extend *cuts
  end
  o
end