Sha256: fecd3346f3d351a150ea11087032c316de4ad9601403e6e92425cf68035acbdd

Contents?: true

Size: 411 Bytes

Versions: 32

Compression:

Stored size: 411 Bytes

Contents

module Cuboid
class State

# @author Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
class Options

    def statistics
        {}
    end

    def dump( directory )
        FileUtils.mkdir_p( directory )
        Cuboid::Options.save( "#{directory}/options" )
    end

    def self.load( directory )
        Cuboid::Options.load( "#{directory}/options" )
        new
    end

    def clear
    end

end

end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
cuboid-0.2.11 lib/cuboid/state/options.rb
cuboid-0.2.10 lib/cuboid/state/options.rb
cuboid-0.2.9 lib/cuboid/state/options.rb
cuboid-0.2.8 lib/cuboid/state/options.rb
cuboid-0.2.7 lib/cuboid/state/options.rb
cuboid-0.2.6 lib/cuboid/state/options.rb
cuboid-0.2.5 lib/cuboid/state/options.rb
cuboid-0.2.4.2 lib/cuboid/state/options.rb
cuboid-0.2.4.1 lib/cuboid/state/options.rb
cuboid-0.2.4 lib/cuboid/state/options.rb
cuboid-0.2.3 lib/cuboid/state/options.rb
cuboid-0.2.2 lib/cuboid/state/options.rb
cuboid-0.2.1 lib/cuboid/state/options.rb
cuboid-0.2 lib/cuboid/state/options.rb
cuboid-0.1.9.1 lib/cuboid/state/options.rb
cuboid-0.1.9 lib/cuboid/state/options.rb
cuboid-0.1.8 lib/cuboid/state/options.rb
cuboid-0.1.7 lib/cuboid/state/options.rb
cuboid-0.1.6.1 lib/cuboid/state/options.rb
cuboid-0.1.6 lib/cuboid/state/options.rb