Sha256: 9f78d6a6e9e521f1dff848e04dd0d979fa98bf317b9d228c7ebd9558516e5892
Contents?: true
Size: 442 Bytes
Versions: 20
Compression:
Stored size: 442 Bytes
Contents
module Bhf::Settings class Platform attr_reader :name, :data, :page_name, :hash, :settings_base def initialize(settings_hash, page_name, settings_base) if settings_hash.is_a?(String) settings_hash = {settings_hash => nil} end @name = settings_hash.keys[0] @hash = settings_hash.values[0] || {} @settings_base = settings_base @page_name = page_name end end end
Version data entries
20 entries across 20 versions & 1 rubygems