Sha256: 6e6fdda8806308996c0991f5b428ed6e15db6f53cc993d8b153c34a529381b36

Contents?: true

Size: 569 Bytes

Versions: 6

Compression:

Stored size: 569 Bytes

Contents

# Author::    Eric Crane  (mailto:eric.crane@mac.com)
# Copyright:: Copyright (c) 2019 Eric Crane.  All rights reserved.
#
# An abstract base object.
# All objects and verbs derive from this.
#

module GlooLang
  module Core
    class Baseo

      attr_accessor :name

      NOT_IMPLEMENTED_ERR = 'Not implemented yet!'.freeze

      # Set up the object.
      def initialize
        @name = ''
      end

      #
      # The object type, suitable for display.
      #
      def type_display
        raise 'this method should be overriden'
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gloo-lang-0.9.8 lib/gloo_lang/core/baseo.rb
gloo-lang-0.9.7 lib/gloo_lang/core/baseo.rb
gloo-lang-0.9.6 lib/gloo_lang/core/baseo.rb
gloo-lang-0.9.5 lib/gloo_lang/core/baseo.rb
gloo-lang-0.9.4 lib/gloo_lang/core/baseo.rb
gloo-lang-0.9.3 lib/gloo_lang/core/baseo.rb