Sha256: 00066dbedf488cb83ef0b9fe1137bed682512f62f51e274b8f17be8b4edc2ec2
Contents?: true
Size: 1010 Bytes
Versions: 3
Compression:
Stored size: 1010 Bytes
Contents
# frozen_string_literal: true module RubyJard module Templates ## # Template of a screen. A screen doesn't have children. Each screen includes screen name, sizes androw template for # rendering. class ScreenTemplate attr_reader :screen, :row_template, :height_ratio, :width_ratio, :min_width, :min_height, :height, :width, :fill_width, :fill_height def initialize( screen: nil, row_template: nil, height_ratio: nil, width_ratio: nil, min_width: nil, min_height: nil, height: nil, width: nil, fill_width: nil, fill_height: nil ) @screen = screen @row_template = row_template @height_ratio = height_ratio @width_ratio = width_ratio @min_width = min_width @min_height = min_height @height = height @width = width @fill_width = fill_width @fill_height = fill_height end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby_jard-0.2.2 | lib/ruby_jard/templates/screen_template.rb |
ruby_jard-0.2.1 | lib/ruby_jard/templates/screen_template.rb |
ruby_jard-0.2.0 | lib/ruby_jard/templates/screen_template.rb |