Class: RedShift::Component::SingletonShadowClass
- Includes:
- CShadow, Singleton
- Defined in:
- lib/redshift/target/c/component-gen.rb
Overview
Useful way to represent an object that has compile time (pre-commit) and run-time (post-commit) bevahior. The compile time behavior is in the class, and the run time behavior is in the unique instance.
Direct Known Subclasses
Class Attribute Summary collapse
-
.inspect_str ⇒ Object
readonly
Returns the value of attribute inspect_str.
Instance Method Summary collapse
Class Attribute Details
.inspect_str ⇒ Object (readonly)
Returns the value of attribute inspect_str.
113 114 115 |
# File 'lib/redshift/target/c/component-gen.rb', line 113 def inspect_str @inspect_str end |
Instance Method Details
#inspect ⇒ Object
112 |
# File 'lib/redshift/target/c/component-gen.rb', line 112 def inspect; self.class.inspect_str; end |