Sha256: 1ed6b2e844becd5414ac2f3e2a7b86b3e5302fccbad18860765f0a8e4585f848
Contents?: true
Size: 1.1 KB
Versions: 25
Compression:
Stored size: 1.1 KB
Contents
# If this class gets too big you may want to split it up into modules, run the following # command to add a module to it: # <% if @block -%> # origen new module <%= Pathname.new(resource_path_to_blocks_dir(@resource_path)).relative_path_from(Origen.root) %>/model.rb my_module_name <% else -%> # origen new module <%= Pathname.new(resource_path_to_lib_file(@resource_path)).relative_path_from(Origen.root) %> my_module_name <% end -%> # class <%= @namespaces.map { |n| camelcase(n[1]) }.join('::') %>::<%= camelcase(@name) %><%= @parent_class ? " < #{@parent_class}" : '' %> <% if @root_class -%> <% if @top_level -%> include Origen::TopLevel <% else -%> include Origen::Model <% end -%> def initialize(options = {}) end <% else -%> # super means that the initialize request will get passed onto the parent class's initialize method. # i.e. the one defined in <%= @parent_class %> # If you want to override that and add a specific implementation for this DUT type, # then simply delete the super below and add the code you wish to handle the request. def initialize(options = {}) super end <% end -%> end
Version data entries
25 entries across 25 versions & 1 rubygems