Sha256: ecc90af3d15af23b98d91fe722700d21937b3ac949b600f46bca332e7fb1c17c

Contents?: true

Size: 327 Bytes

Versions: 10

Compression:

Stored size: 327 Bytes

Contents

module LogCabin
  module Modules
    ##
    # Simple text class, uses "set 'value'" to declare value
    module Static
      def load!
        fail('Must use `set` to provide a value') unless @value
        @state.value = @value
      end

      private

      def set(value)
        @value = value
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
prospectus-0.0.12 lib/prospectus/modules/static.rb
prospectus-0.0.11 lib/prospectus/modules/static.rb
prospectus-0.0.10 lib/prospectus/modules/static.rb
prospectus-0.0.9 lib/prospectus/modules/static.rb
prospectus-0.0.8 lib/prospectus/modules/static.rb
prospectus-0.0.6 lib/prospectus/modules/static.rb
prospectus-0.0.5 lib/prospectus/modules/static.rb
prospectus-0.0.4 lib/prospectus/modules/static.rb
prospectus-0.0.3 lib/prospectus/modules/static.rb
prospectus-0.0.2 lib/prospectus/modules/static.rb