Module: Pollex::PollexClass
- Included in:
- Entry, Language, Level, Reconstruction, SemanticField, Source
- Defined in:
- lib/pollex/pollex_class.rb
Overview
Provides helper class methods for Pollex classes.
Instance Attribute Summary collapse
-
#inspectables ⇒ Object
readonly
Returns the value of attribute inspectables.
Instance Method Summary collapse
-
#attr_inspector(*attrs) ⇒ Object
Defines the list of attributes whose values are displayed by
PollexObject#inspect
.
Instance Attribute Details
#inspectables ⇒ Object (readonly)
Returns the value of attribute inspectables.
31 32 33 |
# File 'lib/pollex/pollex_class.rb', line 31 def inspectables @inspectables end |
Instance Method Details
#attr_inspector(*attrs) ⇒ Object
Defines the list of attributes whose values are displayed by PollexObject#inspect
.
36 37 38 |
# File 'lib/pollex/pollex_class.rb', line 36 def attr_inspector(*attrs) @inspectables = attrs end |