Sha256: 511fc0354fc0727b0abb74f301b05a2948af2da48ded970ffc6ccd61ff6de6ce

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

module FileTree
  module Defaults
    class << self

      attr_writer(:content_type)
      def content_type
        @content_type || :random
      end

      attr_writer(:min_file_size)
      def min_file_size
        @min_file_size || 1024
      end

      attr_writer(:max_file_size)
      def max_file_size
        @max_file_size || 3 * 1024
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
file_tree-0.1.0 lib/file_tree/defaults.rb