class Objc2SwiftAssistant::Settings
Attributes
file_hash[RW]
file_path[RW]
global_settings[RW]
settings_by_path[RW]
Public Class Methods
new( path, root_path )
click to toggle source
# File lib/objc2swift_assistant/settings_file.rb, line 12 def initialize( path, root_path ) end
Public Instance Methods
load_settings()
click to toggle source
# File lib/objc2swift_assistant/settings_file.rb, line 16 def load_settings file_contents = @file_path.read() @file_hash = JSON.parse(file_contents) end