class Flumtter::Window::Base
Public Class Methods
new(title, body, hight=body.size_of_lines, width=body.max_char_of_lines+2)
click to toggle source
# File lib/flumtter/app/core/windows/base.rb, line 6 def initialize(title, body, hight=body.size_of_lines, width=body.max_char_of_lines+2) @title = title @body = body @hight = hight + 8 @width = [width,title.title.exact_size+2].max end