Method: Roby::Application#app_name

Defined in:
lib/roby/app.rb

#app_nameObject

Returns the name of the application



263
264
265
266
267
268
269
270
271
# File 'lib/roby/app.rb', line 263

def app_name
    if @app_name
        @app_name
    elsif app_dir
        @app_name = File.basename(app_dir).gsub(/[^\w]/, "_")
    else
        "default"
    end
end