lib/cliutils/pretty-io.rb in cliutils-1.0.5 vs lib/cliutils/pretty-io.rb in cliutils-1.0.6
- old
+ new
@@ -10,10 +10,15 @@
# CLIMessenger Module
# Outputs color-coordinated messages to a CLI
module PrettyIO
class << self
+ # Determines whether wrapping should be enabled.
+ # @return [Boolean]
attr_accessor :wrap
+
+ # Determines when strings should begin to wrap
+ # @return [Integer]
attr_accessor :wrap_char_limit
end
self.wrap = true
self.wrap_char_limit = 40
\ No newline at end of file