Sha256: fcfcbf77613477c9828c12093ec10d04f4518a21adb72da2e87eb8e3d31b4ec4

Contents?: true

Size: 214 Bytes

Versions: 12

Compression:

Stored size: 214 Bytes

Contents

module Voom
  module Presenters
    module DSL
      module Lockable
        def lock!
          @locked = true
        end

        def locked?
          @locked || frozen?
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
voom-presenters-0.1.11 lib/voom/presenters/dsl/lockable.rb
voom-presenters-0.1.10 lib/voom/presenters/dsl/lockable.rb
voom-presenters-0.1.9 lib/voom/presenters/dsl/lockable.rb
voom-presenters-0.1.8 lib/voom/presenters/dsl/lockable.rb
voom-presenters-0.1.7 lib/voom/presenters/dsl/lockable.rb
voom-presenters-0.1.6 lib/voom/presenters/dsl/lockable.rb
voom-presenters-0.1.5 lib/voom/presenters/dsl/lockable.rb
voom-presenters-0.1.4 lib/voom/presenters/dsl/lockable.rb
voom-presenters-0.1.3 lib/voom/presenters/dsl/lockable.rb
voom-presenters-0.1.2 lib/voom/presenters/dsl/lockable.rb
voom-presenters-0.1.1 lib/voom/presenters/dsl/lockable.rb
voom-presenters-0.1.0 lib/voom/presenters/dsl/lockable.rb