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

Version Path
bhf-0.10.12 lib/bhf/settings/platform.rb
bhf-0.10.11 lib/bhf/settings/platform.rb
bhf-0.10.10 lib/bhf/settings/platform.rb
bhf-0.10.9 lib/bhf/settings/platform.rb
bhf-0.9.9 lib/bhf/settings/platform.rb
bhf-0.9.8 lib/bhf/settings/platform.rb
bhf-0.9.7 lib/bhf/settings/platform.rb
bhf-0.9.6 lib/bhf/settings/platform.rb
bhf-0.9.5 lib/bhf/settings/platform.rb
bhf-0.9.4 lib/bhf/settings/platform.rb
bhf-0.9.3 lib/bhf/settings/platform.rb
bhf-0.9.2 lib/bhf/settings/platform.rb
bhf-0.9.1 lib/bhf/settings/platform.rb
bhf-0.9.0 lib/bhf/settings/platform.rb
bhf-0.8.7 lib/bhf/settings/platform.rb
bhf-0.8.6 lib/bhf/settings/platform.rb
bhf-0.8.5 lib/bhf/settings/platform.rb
bhf-0.8.4 lib/bhf/settings/platform.rb
bhf-0.8.3 lib/bhf/settings/platform.rb
bhf-0.8.2 lib/bhf/settings/platform.rb