Skip to content

Commit

Permalink
Fix up some documentation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lexun committed Jan 30, 2015
1 parent 4da78d8 commit 657b83d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions lib/launchpad/gui/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ module Launchpad
# Main application which is only created once at launch.
class Application < JRubyFX::Application
class << self
# @!attribute main_stage
# @return [Java::JavafxStage::Stage] the main stage.
attr_accessor :main_stage
end

fxml_root 'lib/launchpad/gui/fxml'

# Automatically called on {Application.launch}
# Automatically called on Application.launch
# @param [Java::JavafxStage::Stage] stage
# automatically provided when {.launch} is called.
# automatically provided when .launch is called.
def start(stage)
self.class.main_stage = stage

Expand Down
5 changes: 3 additions & 2 deletions lib/launchpad/settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ module Launchpad
# Provides default settings and allows user customization through creation of
# a yaml file for overrides.
class Settings
# Default settings
DEFAULT = {
local_index_path: 'index',
remote_index_uri: 'http://patcher.cuemu.com/index'
local_index_path: '',
remote_index_uri: ''
}

class << self
Expand Down

0 comments on commit 657b83d

Please sign in to comment.