Module: Quacky::ClassInspect
- Defined in:
- lib/quacky/quacky.rb
Instance Attribute Summary collapse
-
#class_double_name ⇒ Object
readonly
Returns the value of attribute class_double_name.
Instance Method Summary collapse
Instance Attribute Details
#class_double_name ⇒ Object (readonly)
Returns the value of attribute class_double_name.
22 23 24 |
# File 'lib/quacky/quacky.rb', line 22 def class_double_name @class_double_name end |
Instance Method Details
#inspect ⇒ Object
28 29 30 |
# File 'lib/quacky/quacky.rb', line 28 def inspect "Quacky::ClassDouble(:#{@class_double_name})" end |
#name_class_double(name) ⇒ Object
24 25 26 |
# File 'lib/quacky/quacky.rb', line 24 def name_class_double name @class_double_name = name end |