Class: Approvals::Namers::DirectoryNamer

Inherits:
RSpecNamer
  • Object
show all
Defined in:
lib/approvals/namers/directory_namer.rb

Instance Attribute Summary

Attributes inherited from RSpecNamer

#name

Instance Method Summary collapse

Methods inherited from RSpecNamer

#normalize, #output_dir

Constructor Details

#initialize(example) ⇒ DirectoryNamer

Returns a new instance of DirectoryNamer.



5
6
7
# File 'lib/approvals/namers/directory_namer.rb', line 5

def initialize(example)
  @name = directorize example
end