Sha256: 39c2e4ad80738e4d75c2e7bc6dbcd70864205cec463b667b9fc7d1611ad6a7f6
Contents?: true
Size: 595 Bytes
Versions: 2
Compression:
Stored size: 595 Bytes
Contents
#Droiuby app introspection class module Droiuby class Application def self.assets @active_app = @active_app || _current_app assets = {} @active_app.getAssets.each { |k,v| assets[k] = v } assets end def self.name @active_app = @active_app || _current_app @active_app.getName end def self.base_url @active_app = @active_app || _current_app @active_app.getBaseUrl end def self.main_url @active_app = @active_app || _current_app @active_app.getMainUrl end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
droiuby-0.2.1 | lib/droiuby/application.rb |
droiuby-0.2.0 | lib/droiuby/application.rb |