new

new(str, state = :dec)
Class Public methods

Creates a new XMLRPC::Base64 instance with string str as the internal string. When state is :dec it assumes that the string str is not in base64 format (perhaps already decoded), otherwise if state is :enc it decodes str and stores it as the internal string.

doc_ruby_on_rails
2015-06-13 14:45:25
Comments
Leave a Comment

Please login to continue.