Class: ElasticGraph::SchemaDefinition::SchemaElements::DeprecatedElement
- Inherits:
-
Data
- Object
- Data
- ElasticGraph::SchemaDefinition::SchemaElements::DeprecatedElement
- Defined in:
- lib/elastic_graph/schema_definition/schema_elements/deprecated_element.rb
Instance Attribute Summary collapse
-
#defined_at ⇒ Object
readonly
Returns the value of attribute defined_at.
-
#defined_via ⇒ Object
readonly
Returns the value of attribute defined_via.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#schema_def_state ⇒ Object
readonly
Returns the value of attribute schema_def_state.
Instance Method Summary collapse
Instance Attribute Details
#defined_at ⇒ Object (readonly)
Returns the value of attribute defined_at
13 14 15 |
# File 'lib/elastic_graph/schema_definition/schema_elements/deprecated_element.rb', line 13 def defined_at @defined_at end |
#defined_via ⇒ Object (readonly)
Returns the value of attribute defined_via
13 14 15 |
# File 'lib/elastic_graph/schema_definition/schema_elements/deprecated_element.rb', line 13 def defined_via @defined_via end |
#name ⇒ Object (readonly)
Returns the value of attribute name
13 14 15 |
# File 'lib/elastic_graph/schema_definition/schema_elements/deprecated_element.rb', line 13 def name @name end |
#schema_def_state ⇒ Object (readonly)
Returns the value of attribute schema_def_state
13 14 15 |
# File 'lib/elastic_graph/schema_definition/schema_elements/deprecated_element.rb', line 13 def schema_def_state @schema_def_state end |
Instance Method Details
#description ⇒ Object
15 16 17 |
# File 'lib/elastic_graph/schema_definition/schema_elements/deprecated_element.rb', line 15 def description "`#{defined_via}` at #{defined_at.path}:#{defined_at.lineno}" end |