Class: ActiveMocker::FileWriter

Inherits:
Object
  • Object
show all
Defined in:
lib/active_mocker/file_writer.rb

Defined Under Namespace

Classes: OtherErrors, Schema

Instance Method Summary collapse

Instance Method Details

#write!Object



12
13
14
15
16
# File 'lib/active_mocker/file_writer.rb', line 12

def write!
  assure_dir_path_exists!

  safe_write { |f| process!(f) }
end