Method: Zerenity::TextInfo.check

Defined in:
lib/zerenity/textinfo.rb

.check(options) ⇒ Object



22
23
24
25
26
27
28
29
# File 'lib/zerenity/textinfo.rb', line 22

def self.check(options)
  super(options)
  options[:editable] ||= false
  options[:scrollable] ||= false
  options[:height] ||= -1
  options[:width] ||= -1
  options[:text] ||= ""
end