module Thrift::Base64Extension

NOTE: this module is a little workaround in off the chance another library has redefined Struct.included. So instead we prepend a module which then extends the original including class with the module containing from_base64.

Public Instance Methods

included(base) click to toggle source
Calls superclass method
# File lib/thrift/base64.rb, line 33
def included(base)
  base.extend FromBase64
  super
end