Class: AwsMust::FileProvider

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-must/fileprovider.rb

Overview

allow Docu class to access files

Instance Method Summary collapse

Constructor Details

#initialize(optionss = nil) ⇒ FileProvider

Returns a new instance of FileProvider.



5
6
# File 'lib/aws-must/fileprovider.rb', line 5

def initialize( optionss=nil )
end

Instance Method Details

#get_template(file_name) ⇒ Object

return lines in a file as a long string



8
9
10
# File 'lib/aws-must/fileprovider.rb', line 8

def get_template( file_name )
  return File.readlines( file_name ).join
end