Class: Aurora::Component
- Inherits:
-
Object
- Object
- Aurora::Component
- Defined in:
- lib/aurora/component.rb
Direct Known Subclasses
AuxHeat, Blower::PSC, Aurora::Compressor::GenericCompressor, DHW, Humidistat, Pump::GenericPump, Thermostat
Instance Method Summary collapse
-
#initialize(abc) ⇒ Component
constructor
A new instance of Component.
- #inspect ⇒ Object
- #registers_to_read ⇒ Object
Constructor Details
#initialize(abc) ⇒ Component
Returns a new instance of Component.
5 6 7 |
# File 'lib/aurora/component.rb', line 5 def initialize(abc) @abc = abc end |
Instance Method Details
#inspect ⇒ Object
13 14 15 16 17 |
# File 'lib/aurora/component.rb', line 13 def inspect "#<Aurora::#{self.class.name} #{(instance_variables - [:@abc]).map do |iv| "#{iv}=#{instance_variable_get(iv).inspect}" end.join(", ")}>" end |
#registers_to_read ⇒ Object
9 10 11 |
# File 'lib/aurora/component.rb', line 9 def registers_to_read [] end |