Class: Origen::Component::Default

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/origen/components.rb

Overview

Default class instantiate if the class_name is not provided

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Model

#==, #_initialized?, #_resolve_controller_class, #add_configuration, #add_mode, #app, #attributes, #clock!, #clock_apply, #clock_prepare, #configuration, #configuration=, #configurations, #current_configuration, #current_mode, #current_mode=, #delete_all_modes, #delete_all_specs_and_notes, #find_specs, #has_mode?, #inspect, #ip_name, #is_a_model_and_controller?, #is_an_origen_model?, #is_top_level?, #load_block, #log, #method_missing, #model, #modes, #read_memory, #respond_to?, #respond_to_directly?, #to_json, #with_configuration, #with_each_mode, #with_mode, #wrap_in_controller, #write_memory

Constructor Details

#initialize(options = {}) ⇒ Default

Returns a new instance of Default.



29
30
31
# File 'lib/origen/components.rb', line 29

def initialize(options = {})
  @options = options
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Origen::Model

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



27
28
29
# File 'lib/origen/components.rb', line 27

def options
  @options
end