lib/voom/presenters/dsl/lockable.rb in voom-presenters-0.1.11 vs lib/voom/presenters/dsl/lockable.rb in voom-presenters-0.1.12
- old
+ new
@@ -1,14 +1,10 @@
module Voom
module Presenters
module DSL
module Lockable
- def lock!
- @locked = true
- end
-
def locked?
- @locked || frozen?
+ @parent.send(:locked?)
end
end
end
end
end