Class: Decode::Scope

Inherits:
Definition show all
Defined in:
lib/decode/scope.rb

Overview

An abstract namespace for nesting definitions.

Instance Attribute Summary

Attributes inherited from Definition

#comments, #language, #name, #parent

Instance Method Summary collapse

Methods inherited from Definition

#convert, #documentation, #initialize, #long_form, #multiline?, #nested?, #nested_name, #path, #qualified_form, #qualified_name, #start_with?, #text, #to_s

Constructor Details

This class inherits a constructor from Decode::Definition

Instance Method Details

#container?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/decode/scope.rb', line 30

def container?
	true
end

#short_formObject



26
27
28
# File 'lib/decode/scope.rb', line 26

def short_form
	@name
end