Sha256: f18725a9b647d007f48f88506524ef3c873cf745ab7cd7f77eb48add32352819

Contents?: true

Size: 975 Bytes

Versions: 2

Compression:

Stored size: 975 Bytes

Contents

# frozen_string_literal: true

# Defines the geometry for the interface/view with the same name.
#
Vedeu.geometry '<%= object.name %>' do
  # Uncomment this and provide a height and width to centrally align
  # the interface in the terminal.
  #
  # centred!

  # Uncomment this to use all available space in the terminal.
  #
  # maximised!

  # Set the height and width of the interface.
  # - If 'centred!' is set, then the y, x coordinates will be
  #   calculated automatically.
  # - If 'centred! is not set, then the y, x coordinates will be 1, 1.
  # - If 'x' and/or 'y' coordinate(s) are set, then they will be the
  #   starting coordinates.
  # - If 'xn' and/or 'yn' coordinate(s) are set, then either/both
  #   height and width will be ignored.
  #
  # height 10
  # width  10

  # Set the width via the x (start), or xn (end) coordinates.
  # x      1
  # xn     11

  # Set the height via the y (start), or yn (end) coordinates.
  # y      1
  # yn     11
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vedeu_cli-0.0.10 lib/vedeu/cli/templates/application/app/views/interfaces/geometries/name.erb
vedeu_cli-0.0.9 lib/vedeu/cli/templates/application/app/views/interfaces/geometries/name.erb