Class: Gloo::Core::Baseo

Inherits:
Object
  • Object
show all
Defined in:
lib/gloo/core/baseo.rb

Direct Known Subclasses

Factory, Obj, Pn, Verb

Constant Summary collapse

NOT_IMPLEMENTED_ERR =
'Not implemented yet!'.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(engine) ⇒ Baseo

Set up the object.



17
18
19
20
# File 'lib/gloo/core/baseo.rb', line 17

def initialize( engine )
  @engine = engine
  @name = ''
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



12
13
14
# File 'lib/gloo/core/baseo.rb', line 12

def name
  @name
end

Instance Method Details

#type_displayObject

The object type, suitable for display.



25
26
27
# File 'lib/gloo/core/baseo.rb', line 25

def type_display
  raise 'this method should be overriden'
end