class Swappy::Commands::Command

Attributes

app_config_path[R]
options[R]

Public Class Methods

new(options={}) click to toggle source
# File lib/swappy/commands/command.rb, line 10
def initialize(options={})
  @options         = options
  @app_config_path = options[:app_config_path]
end

Protected Instance Methods

app_config() click to toggle source
# File lib/swappy/commands/command.rb, line 17
def app_config
  @app_config ||= AppConfig.new(path: app_config_path)
end