class AppConfig::Storage::ConfigData

OpenStruct wrapper to hold the underlying `Storage` data.

Public Class Methods

new(hash = {}) click to toggle source

Accepts a Hash and passes that along to `OpenStruct.new`.

Calls superclass method
# File lib/app_config/storage/config_data.rb, line 7
def initialize(hash = {})
  super(hash)
end

Public Instance Methods

to_h()
Alias for: to_hash
to_hash() click to toggle source
# File lib/app_config/storage/config_data.rb, line 11
def to_hash
  marshal_dump
end
Also aliased as: to_h