# Module: EnfEditor::PropertyName

Included in:
  EEBrepEdge, EEBrepFace, EEBrepVertex, EEBrepVolume, EEComponent, EEOccInst

Defined in:
  lib/enfeditor/core_ext/property_utils.rb

## Overview

Mixin module to handle name property

## Instance Method Summary collapse

- #name ⇒ String

  Return name.

- #name=(value) ⇒ Object

  Setter for element name.

## Instance Method Details

### #name ⇒ `String`

Return name

Examples:

    puts element.name  # => 'elem1'

Returns:

- (`String`) —

  return name

Since:

- 0.1.0.0

    # File 'lib/enfeditor/core_ext/property_utils.rb', line 9

### #name=(value) ⇒ `Object`

Setter for element name

Examples:

    element.name = "elem2"

Parameters:

- value (`String`, `nil`) —

  new value or set nil to remove name property

Since:

- 0.1.0.0

    # File 'lib/enfeditor/core_ext/property_utils.rb', line 16