Class: Hardware::Can

Inherits:
Enum
  • Object
show all
Defined in:
lib/hardware/can.rb

Instance Method Summary collapse

Methods inherited from Enum

#initialize, #inspect, method_missing, values

Constructor Details

This class inherits a constructor from Hardware::Enum

Instance Method Details

#to_sObject



4
5
6
# File 'lib/hardware/can.rb', line 4

def to_s
  "can of #{@type}"
end