class Instrumentality::Profile
Public Class Methods
new(argv)
click to toggle source
Calls superclass method
# File lib/instrumentality/command/profile.rb, line 11 def initialize(argv) @process = argv.shift_argument @workspace = argv.option('workspace') || Finder.find_workspace @project = argv.option('project') @project ||= Finder.find_project if @workspace.nil? @scheme = argv.option('scheme') || @process @server_port = argv.option('server-port') || Constants::DEFAULT_SERVER_PORT @interactive = argv.flag?('interactive', false) super end
Public Instance Methods
validate!()
click to toggle source
Calls superclass method
# File lib/instrumentality/command/profile.rb, line 22 def validate! super end