Class: Aurora::Component

Inherits:
Object
  • Object
show all
Defined in:
lib/aurora/component.rb

Instance Method Summary collapse

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

#inspectObject



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_readObject



9
10
11
# File 'lib/aurora/component.rb', line 9

def registers_to_read
  []
end