lib/clowne/declarations/trait.rb in clowne-1.3.0 vs lib/clowne/declarations/trait.rb in clowne-1.4.0
- old
+ new
@@ -15,10 +15,10 @@
return @compiled if instance_variable_defined?(:@compiled)
@compiled = compile
end
- alias declarations compiled
+ alias_method :declarations, :compiled
def dup
self.class.new.tap do |duped|
blocks.each { |b| duped.extend_with(b) }
end