lib/origen/code_generators/actions.rb in origen-0.60.7 vs lib/origen/code_generators/actions.rb in origen-0.60.8
- old
+ new
@@ -352,10 +352,10 @@
# Returns a Pathname to the blocks directory that should contain the given class name. No checking is
# done of the name and it is assumed that it is a valid class name including the application namespace.
def class_name_to_blocks_dir(name)
name = name.split('::')
- name.shift # Drop the application name
+ name.shift # Drop the application name
dir = Origen.root.join('app', 'blocks')
name.each_with_index do |n, i|
if i == 0
dir = dir.join(n.underscore)
else