lib/stocking.rb in garterbelt-0.0.7 vs lib/stocking.rb in garterbelt-0.0.8

- old
+ new

@@ -6,6 +6,14 @@ def self.cache(store = :default) c = cache_hash[store] raise "Cache #{store.inspect} has not yet been configured" unless c c end + + class << self + attr_writer :wrap_length + end + + def self.wrap_length + @wrap_length || 80 + end end \ No newline at end of file