Sha256: 401d6c80e384d81286b3b43f4c6d80ab6fa655290128296da6168ca0a79cfb50

Contents?: true

Size: 1.92 KB

Versions: 17

Compression:

Stored size: 1.92 KB

Contents

GLOO SYSTEM OBJECTS

  DESCRIPTION
    The gloo system objects are virtual objects.  That is that they
    can be accessed like other objects.  But the values are set by
    the system.  The values cannot be updated.  The other difference
    is that the virtual objects do not show up in the object heap.

  ACCESS
    The gloo objects can be accessed through the 'gloo' root level
    virtual object designation.  There is also a shortcut for the virtual
    object path:  '$'.  For example, to see the current user:

      > show gloo.user

    Or:

      > show $.user

    Some objects include an '_' to separate words.  As an alternative,
    a '.' can be used instead.  The following commands are treated as
    identical:

      > show gloo.working_dir
      > show gloo.working.dir
      > show $.working_dir
      > show $.working.dir

  OBJECTS

    IDENTITY
    gloo.hostname         # Get the system hostname.
    gloo.user             # Get the logged in User.

    SPECIAL CHARS
    gloo.line             # A carriage return (line feed) character.

    FILE SYSTEM
    gloo.user_home        # Get the user's home directory.
    gloo.working_dir      # Get the working directory.
    gloo.gloo_home        # Get the gloo home directory
    gloo.gloo_config      # Get the gloo configuration directory
    gloo.gloo_projects    # Get the gloo projects directory
    gloo.gloo_log         # Get the gloo logging directory

    SCREEN
    gloo.screen_lines     # Get the number of lines on screen.
    gloo.screen_cols      # Get the number of columns on screen.

    PLATFORM
    gloo.platform_cpu       # Get the platform CPU
    gloo.platform_os        # Get the platform Operating System
    gloo.platform_version   # Get the platform version
    gloo.platform_windows?  # Is the platform Windows?
    gloo.platform_unix?     # Is the platform Unix?
    gloo.platform_linux?    # Is the platform Linux?
    gloo.platform_mac?      # Is the platform Mac?

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
gloo-lang-1.0.2 lib/gloo_lang/help/core/gloo_system.txt
gloo-1.0.0 lib/gloo/help/core/gloo_system.txt
gloo-lang-1.0.1 lib/gloo_lang/help/core/gloo_system.txt
gloo-lang-1.0.0 lib/gloo_lang/help/core/gloo_system.txt
gloo-lang-0.9.11 lib/gloo_lang/help/core/gloo_system.txt
gloo-lang-0.9.10 lib/gloo_lang/help/core/gloo_system.txt
gloo-lang-0.9.9 lib/gloo_lang/help/core/gloo_system.txt
gloo-lang-0.9.8 lib/gloo_lang/help/core/gloo_system.txt
gloo-lang-0.9.7 lib/gloo_lang/help/core/gloo_system.txt
gloo-lang-0.9.6 lib/gloo_lang/help/core/gloo_system.txt
gloo-lang-0.9.5 lib/gloo_lang/help/core/gloo_system.txt
gloo-lang-0.9.4 lib/gloo_lang/help/core/gloo_system.txt
gloo-lang-0.9.3 lib/gloo_lang/help/core/gloo_system.txt
gloo-0.8.0 lib/gloo/help/core/gloo_system.txt
gloo-0.7.7 lib/gloo/help/core/gloo_system.txt
gloo-0.7.6 lib/gloo/help/core/gloo_system.txt
gloo-0.7.5 lib/gloo/help/core/gloo_system.txt