Class: Quacky::Double

Inherits:
Object
  • Object
show all
Defined in:
lib/quacky/double.rb

Instance Method Summary collapse

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

#inspectObject



7
8
9
# File 'lib/quacky/double.rb', line 7

def inspect
  "<Quacky::Double :#{name}>"
end