Class: Languages::BasicData Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/kuniri/language/container_data/structured_and_oo/basic_data.rb

Overview

This class is abstract.

Usually, all data in this container needs at list one

information: name. This class aim to be a generic class for all elements of container data.

Instance Attribute Summary collapse

Instance Attribute Details

#commentsObject

Returns the value of attribute comments.



12
13
14
# File 'lib/kuniri/language/container_data/structured_and_oo/basic_data.rb', line 12

def comments
  @comments
end

#nameObject

Returns the value of attribute name.



10
11
12
# File 'lib/kuniri/language/container_data/structured_and_oo/basic_data.rb', line 10

def name
  @name
end

#visibilityObject

Returns the value of attribute visibility.



11
12
13
# File 'lib/kuniri/language/container_data/structured_and_oo/basic_data.rb', line 11

def visibility
  @visibility
end