Class: SimpleBase64
- Inherits:
-
Object
- Object
- SimpleBase64
- Defined in:
- lib/simple_base64.rb
Instance Method Summary collapse
-
#initialize(prop) ⇒ SimpleBase64
constructor
A new instance of SimpleBase64.
Constructor Details
#initialize(prop) ⇒ SimpleBase64
Returns a new instance of SimpleBase64.
6 7 8 9 10 |
# File 'lib/simple_base64.rb', line 6 def initialize(prop) File.open(prop).each do |item_file| puts Base64.strict_encode64(item_file) end end |