Class: Quacky::Double
- Inherits:
-
Object
- Object
- Quacky::Double
- Defined in:
- lib/quacky/double.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ Double
constructor
A new instance of Double.
- #inspect ⇒ Object
Constructor Details
#initialize(name) ⇒ Double
Returns a new instance of Double.
3 4 5 |
# File 'lib/quacky/double.rb', line 3 def initialize(name) @name = name end |
Instance Method Details
#inspect ⇒ Object
7 8 9 |
# File 'lib/quacky/double.rb', line 7 def inspect "<Quacky::Double :#{name}>" end |